Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def predict_sentiment(post):
|
|
| 15 |
def generate_response(prompt):
|
| 16 |
sentiment = predict_sentiment(prompt)
|
| 17 |
if sentiment == 'POSITIVE':
|
| 18 |
-
return "
|
| 19 |
elif sentiment == 'NEGATIVE':
|
| 20 |
return "Je suis désolé que vous ressentiez cela. Comment puis-je vous aider?"
|
| 21 |
else:
|
|
|
|
| 15 |
def generate_response(prompt):
|
| 16 |
sentiment = predict_sentiment(prompt)
|
| 17 |
if sentiment == 'POSITIVE':
|
| 18 |
+
return "Trop cool moi aussi!!"
|
| 19 |
elif sentiment == 'NEGATIVE':
|
| 20 |
return "Je suis désolé que vous ressentiez cela. Comment puis-je vous aider?"
|
| 21 |
else:
|