DarwinAnim8or commited on
Commit
a9e76be
·
1 Parent(s): 35e86ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def classify_text(text):
17
  # Create a Gradio interface
18
  iface = gr.Interface(
19
  fn=classify_text,
20
- inputs=gradio.components.Textbox(label="Enter text"),
21
  outputs=gr.outputs.Label(num_top_classes=None), # Show all labels
22
  )
23
 
 
17
  # Create a Gradio interface
18
  iface = gr.Interface(
19
  fn=classify_text,
20
+ inputs=gr.components.Textbox(label="Enter text"),
21
  outputs=gr.outputs.Label(num_top_classes=None), # Show all labels
22
  )
23