besijar commited on
Commit
7199292
1 Parent(s): 427ad68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,7 +17,7 @@ def review_classify(review):
17
 
18
  iface = gr.Interface(review_classify,
19
  title="Review Classification using DistilRoBERTa",
20
- inputs=["text"],
21
- outputs=["number"],
22
  examples=[example_review])
23
  iface.launch()
 
17
 
18
  iface = gr.Interface(review_classify,
19
  title="Review Classification using DistilRoBERTa",
20
+ inputs=[gr.Text(label="Review")],
21
+ outputs=[gr.Number(label="Rating", precision=0)],
22
  examples=[example_review])
23
  iface.launch()