Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -226,15 +226,16 @@ def generate_video(model_name: str, text: str, video_path: str,
|
|
| 226 |
|
| 227 |
# Define examples for image and video inference
|
| 228 |
image_examples = [
|
| 229 |
-
["Extract it as a table for README.md", "images/image0.jpg"],
|
| 230 |
["Fill the correct numbers", "images/image3.png"],
|
|
|
|
| 231 |
["OCR the image", "images/image1.png"],
|
| 232 |
["Explain the scene", "images/image2.jpg"],
|
| 233 |
]
|
| 234 |
|
| 235 |
video_examples = [
|
| 236 |
-
["Explain the video in detail", "videos/
|
| 237 |
-
["Explain the video in detail", "videos/
|
|
|
|
| 238 |
]
|
| 239 |
|
| 240 |
css = """
|
|
|
|
| 226 |
|
| 227 |
# Define examples for image and video inference
|
| 228 |
image_examples = [
|
|
|
|
| 229 |
["Fill the correct numbers", "images/image3.png"],
|
| 230 |
+
["Extract it as a table for README.md", "images/image0.jpg"],
|
| 231 |
["OCR the image", "images/image1.png"],
|
| 232 |
["Explain the scene", "images/image2.jpg"],
|
| 233 |
]
|
| 234 |
|
| 235 |
video_examples = [
|
| 236 |
+
["Explain the video in detail", "videos/2.mp4"],
|
| 237 |
+
["Explain the video in detail", "videos/1.mp4"]
|
| 238 |
+
|
| 239 |
]
|
| 240 |
|
| 241 |
css = """
|