Roberto8 commited on
Commit
93f7489
1 Parent(s): 86a54d9

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -13,8 +13,7 @@ def make_prediction(user_sentence):
13
 
14
  title = "Sentiment Analysis MyAnimeList Reviews with fastai"
15
  description = "<p style='text-align: center'>Identifier si un commentaire dans MyAnimeList est positif, neutre ou négatif.<br/> Permet de connaître rapidement le sentiment globale que dégage un avis sur le site.</p>"
16
- examples = ["I liked this show but now I do not love this since the last season. The animation is terrible and the drawings are awful. I don't recommend this show to anyone.", "This is amazing !"]
17
 
18
- app = gr.Interface(fn=make_prediction, title=title, description=description, examples=examples, inputs=gr.TextArea(), outputs='text')
19
 
20
  app.launch()
 
13
 
14
  title = "Sentiment Analysis MyAnimeList Reviews with fastai"
15
  description = "<p style='text-align: center'>Identifier si un commentaire dans MyAnimeList est positif, neutre ou négatif.<br/> Permet de connaître rapidement le sentiment globale que dégage un avis sur le site.</p>"
 
16
 
17
+ app = gr.Interface(fn=make_prediction, title=title, description=description, inputs=gr.TextArea(), outputs='text')
18
 
19
  app.launch()