Spaces:
Running
Running
Nattapong Tapachoom
commited on
Commit
·
66d994e
1
Parent(s):
c7cb155
Remove example click functionality from Gradio block
Browse files
app.py
CHANGED
@@ -209,6 +209,5 @@ with gr.Blocks(
|
|
209 |
analyze_btn.click(analyze_wrapper, inputs=[text_input, model_dropdown], outputs=output_box)
|
210 |
text_input.submit(analyze_wrapper, inputs=[text_input, model_dropdown], outputs=output_box)
|
211 |
model_dropdown.change(analyze_wrapper, inputs=[text_input, model_dropdown], outputs=output_box)
|
212 |
-
|
213 |
-
examples.dataset.click(lambda x: x[0] if isinstance(x, list) and x else "", outputs=text_input)
|
214 |
|
|
|
209 |
analyze_btn.click(analyze_wrapper, inputs=[text_input, model_dropdown], outputs=output_box)
|
210 |
text_input.submit(analyze_wrapper, inputs=[text_input, model_dropdown], outputs=output_box)
|
211 |
model_dropdown.change(analyze_wrapper, inputs=[text_input, model_dropdown], outputs=output_box)
|
212 |
+
|
|
|
213 |
|