Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | @@ -83,10 +83,10 @@ def generate_answers(img=None, aud = None, q = None, max_tokens = 30): | |
| 83 |  | 
| 84 | 
             
            # List of examples (image, audio, question, max_tokens)
         | 
| 85 | 
             
            examples = [
         | 
| 86 | 
            -
                ["./examples/Image_1.jpg", | 
| 87 | 
            -
                ["./examples/Image_2.jpg", | 
| 88 | 
            -
                ["./examples/Image_3.jpg", | 
| 89 | 
            -
                ["./examples/Image_4.jpg", | 
| 90 | 
             
            ]
         | 
| 91 |  | 
| 92 | 
             
            with gr.Blocks() as demo:
         | 
|  | |
| 83 |  | 
| 84 | 
             
            # List of examples (image, audio, question, max_tokens)
         | 
| 85 | 
             
            examples = [
         | 
| 86 | 
            +
                ["./examples/Image_1.jpg","./examples/General.wav", "Explain image?", 20],
         | 
| 87 | 
            +
                ["./examples/Image_2.jpg","./examples/Image_2.wav", "How many animals are there in image?", 10],
         | 
| 88 | 
            +
                ["./examples/Image_3.jpg","./examples/General.wav", "What is in the image?", 20],
         | 
| 89 | 
            +
                ["./examples/Image_4.jpg","./examples/General.wav", "What represents this Image?", 20],
         | 
| 90 | 
             
            ]
         | 
| 91 |  | 
| 92 | 
             
            with gr.Blocks() as demo:
         |