Khaledmd12 commited on
Commit
a009764
·
verified ·
1 Parent(s): 650b6f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,8 +43,8 @@ print(sentiment("Worst rental I ever got")[0]['score'])
43
  def get_sentiment(text):
44
  return sentiment(text)[0]['label'], sentiment(text)[0]['score']
45
 
46
- """Build an interface for the app using Gradio."""
47
- The customer wants this result :
48
 
49
  interface = gr.Interface(fn=get_sentiment,
50
  inputs=gr.Textbox(lines=1, label="Enter the review:"),
 
43
  def get_sentiment(text):
44
  return sentiment(text)[0]['label'], sentiment(text)[0]['score']
45
 
46
+ """Build an interface for the app using Gradio.
47
+ The customer wants this result :"""
48
 
49
  interface = gr.Interface(fn=get_sentiment,
50
  inputs=gr.Textbox(lines=1, label="Enter the review:"),