Spaces:
Sleeping
Sleeping
change to use `input` listener
Browse filesUse `.input` listener, to avoid event triggered by Block.load.
ref: https://www.gradio.app/docs/gradio/textbox
app.py
CHANGED
@@ -3559,7 +3559,7 @@ with gr.Blocks(theme=gr.themes.Base(primary_hue=gr.themes.colors.orange, seconda
|
|
3559 |
ai_chatbot_question_3
|
3560 |
]
|
3561 |
|
3562 |
-
youtube_link.
|
3563 |
process_youtube_link,
|
3564 |
inputs=process_youtube_link_inputs,
|
3565 |
outputs=process_youtube_link_outputs
|
|
|
3559 |
ai_chatbot_question_3
|
3560 |
]
|
3561 |
|
3562 |
+
youtube_link.input(
|
3563 |
process_youtube_link,
|
3564 |
inputs=process_youtube_link_inputs,
|
3565 |
outputs=process_youtube_link_outputs
|