ND0210 commited on
Commit
7dcb300
1 Parent(s): 2257973

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def predict_category(Title):
37
  # Create the Gradio interfaces
38
  iface = gr.Interface(
39
  fn=predict_category,
40
- inputs="text",
41
  outputs=[
42
  gr.Textbox(label="Prediction"),
43
  gr.Dataframe(label="Probs", type='pandas')
 
37
  # Create the Gradio interfaces
38
  iface = gr.Interface(
39
  fn=predict_category,
40
+ inputs=gr.Textbox(label="Title"),
41
  outputs=[
42
  gr.Textbox(label="Prediction"),
43
  gr.Dataframe(label="Probs", type='pandas')