Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,9 +22,8 @@ You are a feeling analyser and you'll say only "positive1" if I'm feeling positi
|
|
22 |
<|start_header_id|>assistant<|end_header_id|>
|
23 |
|
24 |
'''
|
25 |
-
print("Réponse brute de l'API:", output) # Ajoutez cette ligne
|
26 |
-
|
27 |
})
|
|
|
28 |
|
29 |
if isinstance(output, list) and len(output) > 0:
|
30 |
response = output[0].get('generated_text', '').strip().lower()
|
|
|
22 |
<|start_header_id|>assistant<|end_header_id|>
|
23 |
|
24 |
'''
|
|
|
|
|
25 |
})
|
26 |
+
print("Réponse brute de l'API:", output) # Ajoutez cette ligne
|
27 |
|
28 |
if isinstance(output, list) and len(output) > 0:
|
29 |
response = output[0].get('generated_text', '').strip().lower()
|