BioMike commited on
Commit
5187656
·
verified ·
1 Parent(s): b03b2db

Update interfaces/classification.py

Browse files
Files changed (1) hide show
  1. interfaces/classification.py +2 -2
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=outpu)
73
- threshold.release(fn=process, inputs=[input_text, input_labels, threshold], outputs=outpu)
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__":