Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -153,7 +153,14 @@ with gr.Blocks() as demo:
|
|
| 153 |
],
|
| 154 |
outputs=response)
|
| 155 |
|
| 156 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
|
| 158 |
demo.launch(share=True)
|
| 159 |
|
|
|
|
| 153 |
],
|
| 154 |
outputs=response)
|
| 155 |
|
| 156 |
+
gr.Examples(
|
| 157 |
+
examples=[
|
| 158 |
+
["dog_man_forest.jpg", "audio.m4a", "Is there a dog present in the image?"],
|
| 159 |
+
],
|
| 160 |
+
inputs=[input_image, audio_input, text_input, response_count],
|
| 161 |
+
outputs=[response],
|
| 162 |
+
fn=generate_response,
|
| 163 |
+
)
|
| 164 |
|
| 165 |
demo.launch(share=True)
|
| 166 |
|