Spaces:
Running
Running
root
commited on
Commit
·
c8765af
1
Parent(s):
21e0a1c
update example to run on click
Browse files
app.py
CHANGED
|
@@ -231,6 +231,8 @@ with gr.Blocks() as iface:
|
|
| 231 |
examples = gr.Examples(
|
| 232 |
examples=examples,
|
| 233 |
inputs=[image_input, chat_input],
|
|
|
|
|
|
|
| 234 |
)
|
| 235 |
|
| 236 |
iface.queue(concurrency_count=1, api_open=False, max_size=10)
|
|
|
|
| 231 |
examples = gr.Examples(
|
| 232 |
examples=examples,
|
| 233 |
inputs=[image_input, chat_input],
|
| 234 |
+
examples=True,
|
| 235 |
+
fn = inference_chat,
|
| 236 |
)
|
| 237 |
|
| 238 |
iface.queue(concurrency_count=1, api_open=False, max_size=10)
|