Commit
·
00d5b17
1
Parent(s):
6aa4fcc
fixed unexpected indent
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def make_prediction(user_sentence):
|
|
11 |
prediction = learn.predict(user_sentence)
|
12 |
# dict = {'1': 'Negative', '2': 'Neutral', '3': 'Positive'}
|
13 |
# return dict[prediction[0]]
|
14 |
-
|
15 |
|
16 |
title = "Sentiment Analysis MyAnimeList Reviews with fastai"
|
17 |
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>"
|
|
|
11 |
prediction = learn.predict(user_sentence)
|
12 |
# dict = {'1': 'Negative', '2': 'Neutral', '3': 'Positive'}
|
13 |
# return dict[prediction[0]]
|
14 |
+
return prediction
|
15 |
|
16 |
title = "Sentiment Analysis MyAnimeList Reviews with fastai"
|
17 |
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>"
|