Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -246,10 +246,13 @@ def generate_video(model_name: str,
|
|
| 246 |
|
| 247 |
# Define examples for image and video inference
|
| 248 |
image_examples = [
|
|
|
|
| 249 |
["Extract the content.", "assets/images/1.png"],
|
|
|
|
|
|
|
| 250 |
["Make this into a table for the README.md file.", "assets/images/2.jpg"],
|
| 251 |
["Extract the table content from the image.", "assets/images/3.png"],
|
| 252 |
-
["Perform OCR on the image.", "assets/images/4.jpg"]
|
| 253 |
]
|
| 254 |
|
| 255 |
video_examples = [
|
|
|
|
| 246 |
|
| 247 |
# Define examples for image and video inference
|
| 248 |
image_examples = [
|
| 249 |
+
["Explain the essence of the image.", "assets/images/B.jpg"],
|
| 250 |
["Extract the content.", "assets/images/1.png"],
|
| 251 |
+
["Describe the safety of the action shown in the image.", "assets/images/C.jpg"],
|
| 252 |
+
["Caption the image.", "assets/images/A.jpg"],
|
| 253 |
["Make this into a table for the README.md file.", "assets/images/2.jpg"],
|
| 254 |
["Extract the table content from the image.", "assets/images/3.png"],
|
| 255 |
+
["Perform OCR on the image.", "assets/images/4.jpg"]
|
| 256 |
]
|
| 257 |
|
| 258 |
video_examples = [
|