Dabs commited on
Commit
83c3670
1 Parent(s): 055c2b8

added title and description

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -10,7 +10,12 @@ def sentiment_analysis(text):
10
  sent = analyzer.predict(text).probas
11
  return sent
12
 
13
- iface = gr.Interface(sentiment_analysis, "textbox", "label", interpretation="default")
 
 
 
 
 
14
 
15
  iface.test_launch()
16
  if __name__ == "__main__":
 
10
  sent = analyzer.predict(text).probas
11
  return sent
12
 
13
+ iface = gr.Interface(sentiment_analysis,
14
+ "textbox",
15
+ "label",
16
+ interpretation="default",
17
+ title="Spanish Sentiment Analysis",
18
+ description="Write a sentence in spanish to analyze its sentiment")
19
 
20
  iface.test_launch()
21
  if __name__ == "__main__":