Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
37ef216
1
Parent(s):
5855f41
Example to call submit
Browse files
app.py
CHANGED
|
@@ -221,11 +221,11 @@ with gr.Blocks(theme=theme) as demo:
|
|
| 221 |
with example_container:
|
| 222 |
gr.Examples(
|
| 223 |
examples=example_questions,
|
| 224 |
-
inputs=msg,
|
| 225 |
outputs=[msg, chatbot, thinking_box],
|
| 226 |
-
fn=
|
| 227 |
cache_examples=False,
|
| 228 |
-
label="
|
| 229 |
)
|
| 230 |
|
| 231 |
transcribe_btn.click(
|
|
|
|
| 221 |
with example_container:
|
| 222 |
gr.Examples(
|
| 223 |
examples=example_questions,
|
| 224 |
+
inputs=[msg, transcript_state],
|
| 225 |
outputs=[msg, chatbot, thinking_box],
|
| 226 |
+
fn=submit_question,
|
| 227 |
cache_examples=False,
|
| 228 |
+
label=""
|
| 229 |
)
|
| 230 |
|
| 231 |
transcribe_btn.click(
|