Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -76,8 +76,9 @@ def model_inference(input_dict, history):
|
|
| 76 |
|
| 77 |
# Example inputs
|
| 78 |
examples = [
|
|
|
|
|
|
|
| 79 |
[{"text": "summarize the letter", "files": ["examples/1.png"]}],
|
| 80 |
-
[{"text": "Describe the document?", "files": ["example_images/document.jpg"]}],
|
| 81 |
[{"text": "Describe the photo", "files": ["examples/3.png"]}],
|
| 82 |
[{"text": "Summarize the full image in detail", "files": ["examples/2.jpg"]}],
|
| 83 |
[{"text": "Describe this image.", "files": ["example_images/campeones.jpg"]}],
|
|
|
|
| 76 |
|
| 77 |
# Example inputs
|
| 78 |
examples = [
|
| 79 |
+
|
| 80 |
+
[{"text": "Extract JSON from the image", "files": ["example_images/document.jpg"]}],
|
| 81 |
[{"text": "summarize the letter", "files": ["examples/1.png"]}],
|
|
|
|
| 82 |
[{"text": "Describe the photo", "files": ["examples/3.png"]}],
|
| 83 |
[{"text": "Summarize the full image in detail", "files": ["examples/2.jpg"]}],
|
| 84 |
[{"text": "Describe this image.", "files": ["example_images/campeones.jpg"]}],
|