Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ model_id = "deepseek-ai/deepseek-llm-7b-chat"
|
|
8 |
pipe = pipeline("text-generation", model=model_id)
|
9 |
|
10 |
# Consigne que le modèle suivra pour chaque chat
|
11 |
-
|
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 |
"""
|
|
|
8 |
pipe = pipeline("text-generation", model=model_id)
|
9 |
|
10 |
# Consigne que le modèle suivra pour chaque chat
|
11 |
+
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 |
"""
|