mrm8488 commited on
Commit
d42e33a
1 Parent(s): 618cb03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,6 +5,6 @@ model = 'mrm8488/electricidad-small-finetuned-amazon-review-classification'
5
 
6
  def classify(text):
7
  cls= pipeline("text-classification", model=model)
8
- return cls(text)[0]['label']
9
 
10
  gr.Interface(fn=classify, inputs=["textbox"], outputs="text").launch(debug=True)
 
5
 
6
  def classify(text):
7
  cls= pipeline("text-classification", model=model)
8
+ return cls(text)[0]['label'] + '➗ ⭐⭐⭐⭐⭐'
9
 
10
  gr.Interface(fn=classify, inputs=["textbox"], outputs="text").launch(debug=True)