Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,10 +147,9 @@ def model_inference(message, history, use_docscopeocr):
|
|
| 147 |
|
| 148 |
# Gradio Interface
|
| 149 |
examples = [
|
| 150 |
-
[{"text": "OCR the Text in the Image", "files": ["
|
| 151 |
-
[{"text": "Explain the
|
| 152 |
-
[{"text": "
|
| 153 |
-
[{"text": "Extract as JSON table from the table", "files": ["examples/4.jpg"]}],
|
| 154 |
]
|
| 155 |
|
| 156 |
demo = gr.ChatInterface(
|
|
|
|
| 147 |
|
| 148 |
# Gradio Interface
|
| 149 |
examples = [
|
| 150 |
+
[{"text": "OCR the Text in the Image", "files": ["example/image.png"]}],
|
| 151 |
+
[{"text": "Explain the video, frame by frame.", "files": ["example/demo1.mp4"]}],
|
| 152 |
+
[{"text": "Describe the ad in detail.", "files": ["example/demo2.mp4"]}],
|
|
|
|
| 153 |
]
|
| 154 |
|
| 155 |
demo = gr.ChatInterface(
|