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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -15,9 +15,9 @@ def tagging(
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"),
 
15
  except error:
16
  raise gr.Error(f"Error {error}")
17
 
18
+ output = classifier(text_input, candidate_labels)
19
 
20
+ return output
21
 
22
  app = gr.Interface(fn=tagging, inputs=[
23
  gr.Textbox(label="Input here"),