Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,8 +85,8 @@ class MistralChatBot:
|
|
| 85 |
batch_prompts = [editorial_text]
|
| 86 |
|
| 87 |
out = token_classifier(batch_prompts)
|
| 88 |
-
|
| 89 |
-
generated_text = '<h2 style="text-align:center">Réponse</h3>\n<div class="generation">' +
|
| 90 |
return generated_text
|
| 91 |
|
| 92 |
# Create the Falcon chatbot instance
|
|
|
|
| 85 |
batch_prompts = [editorial_text]
|
| 86 |
|
| 87 |
out = token_classifier(batch_prompts)
|
| 88 |
+
print(out)
|
| 89 |
+
generated_text = '<h2 style="text-align:center">Réponse</h3>\n<div class="generation">' + out + "</div>"
|
| 90 |
return generated_text
|
| 91 |
|
| 92 |
# Create the Falcon chatbot instance
|