Rodrigo Uribe commited on
Commit
96e7d44
1 Parent(s): 386812f
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -28,10 +28,10 @@ def classify_text(text):
28
  # Create the Gradio interface
29
  iface = gr.Interface(
30
  fn=classify_text,
31
- inputs=gr.inputs.Textbox(lines=2, placeholder="Enter Text Here..."),
32
  outputs=[
33
- gr.outputs.Label(label="Classification"),
34
- gr.outputs.JSON(label="Probabilities")
35
  ]
36
  )
37
 
 
28
  # Create the Gradio interface
29
  iface = gr.Interface(
30
  fn=classify_text,
31
+ inputs=gr.Textbox(lines=2, placeholder="Enter Text Here..."),
32
  outputs=[
33
+ gr.Label(label="Classification"),
34
+ gr.JSON(label="Probabilities")
35
  ]
36
  )
37