frankrobotics commited on
Commit
5bd1dfc
·
verified ·
1 Parent(s): b040852

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -15,14 +15,14 @@ def tagging(
15
  except error:
16
  raise gr.Error(f"Error {error}")
17
 
18
- classifier(text_input, candidate_labels, multi_label)
19
 
20
  return text
21
 
22
  app = gr.Interface(fn=tagging, inputs=[
23
- gr.Textbox(label="Your input here"),
24
- gr.Textbox(label="Your input here"),
25
- gr.Checkbox(label="multi_label", value=True)
26
  ], outputs="text")
27
 
28
  app.launch()
 
15
  except error:
16
  raise gr.Error(f"Error {error}")
17
 
18
+ classifier(text_input, candidate_labels)
19
 
20
  return text
21
 
22
  app = gr.Interface(fn=tagging, inputs=[
23
+ gr.Textbox(label="Input here"),
24
+ gr.Textbox(label="Mags here"),
25
+ gr.Checkbox(label="Multi_label", value=True)
26
  ], outputs="text")
27
 
28
  app.launch()