Spaces:
Runtime error
Runtime error
root
commited on
Commit
•
0baea79
1
Parent(s):
798b219
update example to run on click
Browse files
app.py
CHANGED
@@ -230,7 +230,7 @@ with gr.Blocks() as iface:
|
|
230 |
|
231 |
examples = gr.Examples(
|
232 |
examples=examples,
|
233 |
-
inputs=[image_input, chat_input],
|
234 |
run_on_click=True,
|
235 |
fn = inference_chat,
|
236 |
)
|
|
|
230 |
|
231 |
examples = gr.Examples(
|
232 |
examples=examples,
|
233 |
+
inputs=[image_input, chat_input, sampling, temperature, len_penalty, rep_penalty, state],
|
234 |
run_on_click=True,
|
235 |
fn = inference_chat,
|
236 |
)
|