youj2005 commited on
Commit
719750a
·
1 Parent(s): 5f715e8

Path input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def predict(context, intent):
47
 
48
  gradio_app = gr.Interface(
49
  predict,
50
- inputs=[gr.Text(label="Input sentence"), gr.Text(label="Class")],
51
  outputs=[gr.Label(num_top_classes=3)],
52
  title="Intent Analysis",
53
  )
 
47
 
48
  gradio_app = gr.Interface(
49
  predict,
50
+ inputs=["text", "text"],
51
  outputs=[gr.Label(num_top_classes=3)],
52
  title="Intent Analysis",
53
  )