DarwinAnim8or commited on
Commit
b24c622
·
1 Parent(s): c9a2ff6

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=gr.inputs.Textbox(label="Enter text"),
21
  outputs=gr.outputs.Label(label="Predicted classes"),
22
  )
23
 
 
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(label="Predicted classes"),
22
  )
23