dev114 commited on
Commit
9cd8489
1 Parent(s): 352cca9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,5 +7,5 @@ sentiment = pipeline("sentiment-analysis")
7
  def get_sentiment(input_text):
8
  return sentiment(input_text)
9
 
10
- iFace = gr.Interface(fn = get_sentiment, inputs = "text", outputs = ['text'], title ='Sentiment Analysis', description="Get Sentiment Negative/Positive for the given input"
11
- iFace.launch(inline = False)
 
7
  def get_sentiment(input_text):
8
  return sentiment(input_text)
9
 
10
+ iface = gr.Interface(fn = get_sentiment, inputs = "text", outputs = ['text'], title ='Sentiment Analysis', description="Get Sentiment Negative/Positive for the given input")
11
+ iface.launch()