Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ system_message = """Classify the text into neutral, negative or positive.
|
|
12 |
Text: This movie is definitely one of my favorite movies of its kind. The interaction between respectable and morally strong characters is an ode to chivalry and the honor code amongst thieves and policemen.
|
13 |
Sentiment:
|
14 |
"""
|
15 |
-
@
|
16 |
# Fonction pour générer une réponse à partir du message de l'utilisateur
|
17 |
def generate_response(user_message, history):
|
18 |
try:
|
|
|
12 |
Text: This movie is definitely one of my favorite movies of its kind. The interaction between respectable and morally strong characters is an ode to chivalry and the honor code amongst thieves and policemen.
|
13 |
Sentiment:
|
14 |
"""
|
15 |
+
@spaces.GPU
|
16 |
# Fonction pour générer une réponse à partir du message de l'utilisateur
|
17 |
def generate_response(user_message, history):
|
18 |
try:
|