Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update interfaces/classification.py
Browse files
interfaces/classification.py
CHANGED
@@ -69,8 +69,8 @@ with gr.Blocks(title="Text Classification with Highlighted Labels") as classific
|
|
69 |
theme=gr.themes.Base()
|
70 |
|
71 |
|
72 |
-
input_text.submit(fn=process, inputs=[input_text, input_labels, threshold], outputs=
|
73 |
-
threshold.release(fn=process, inputs=[input_text, input_labels, threshold], outputs=
|
74 |
submit_btn.click(fn=process, inputs=[input_text, input_labels, threshold], outputs=output)
|
75 |
|
76 |
if __name__ == "__main__":
|
|
|
69 |
theme=gr.themes.Base()
|
70 |
|
71 |
|
72 |
+
input_text.submit(fn=process, inputs=[input_text, input_labels, threshold], outputs=output)
|
73 |
+
threshold.release(fn=process, inputs=[input_text, input_labels, threshold], outputs=output)
|
74 |
submit_btn.click(fn=process, inputs=[input_text, input_labels, threshold], outputs=output)
|
75 |
|
76 |
if __name__ == "__main__":
|