Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -220,6 +220,7 @@ def model_inference(input_dict, history): | |
| 220 | 
             
            # Gradio Interface Setup
         | 
| 221 |  | 
| 222 | 
             
            examples = [
         | 
|  | |
| 223 | 
             
                [{"text": "@aya-vision Summarize the letter", "files": ["examples/1.png"]}],
         | 
| 224 | 
             
                [{"text": "@aya-vision Extract JSON from the image", "files": ["example_images/document.jpg"]}],
         | 
| 225 | 
             
                [{"text": "@video-infer Explain what is happening in this video ?", "files": ["examples/oreo.mp4"]}],
         | 
| @@ -229,7 +230,6 @@ examples = [ | |
| 229 | 
             
                [{"text": "@aya-vision Describe this image.", "files": ["example_images/campeones.jpg"]}],
         | 
| 230 | 
             
                [{"text": "@aya-vision What is this UI about?", "files": ["example_images/s2w_example.png"]}],
         | 
| 231 | 
             
                [{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
         | 
| 232 | 
            -
                [{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
         | 
| 233 | 
             
                [{"text": "@aya-vision Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
         | 
| 234 | 
             
            ]
         | 
| 235 |  | 
|  | |
| 220 | 
             
            # Gradio Interface Setup
         | 
| 221 |  | 
| 222 | 
             
            examples = [
         | 
| 223 | 
            +
                [{"text": "Can you describe this image?", "files": ["example_images/dogs.jpg"]}],
         | 
| 224 | 
             
                [{"text": "@aya-vision Summarize the letter", "files": ["examples/1.png"]}],
         | 
| 225 | 
             
                [{"text": "@aya-vision Extract JSON from the image", "files": ["example_images/document.jpg"]}],
         | 
| 226 | 
             
                [{"text": "@video-infer Explain what is happening in this video ?", "files": ["examples/oreo.mp4"]}],
         | 
|  | |
| 230 | 
             
                [{"text": "@aya-vision Describe this image.", "files": ["example_images/campeones.jpg"]}],
         | 
| 231 | 
             
                [{"text": "@aya-vision What is this UI about?", "files": ["example_images/s2w_example.png"]}],
         | 
| 232 | 
             
                [{"text": "Can you describe this image?", "files": ["example_images/newyork.jpg"]}],
         | 
|  | |
| 233 | 
             
                [{"text": "@aya-vision Where do the severe droughts happen according to this diagram?", "files": ["example_images/examples_weather_events.png"]}],
         | 
| 234 | 
             
            ]
         | 
| 235 |  | 
