Pclanglais commited on
Commit
c8201c1
·
verified ·
1 Parent(s): 05775e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -85,8 +85,8 @@ class MistralChatBot:
85
  batch_prompts = [editorial_text]
86
 
87
  out = token_classifier(batch_prompts)
88
- out = "".join(out)
89
- generated_text = '<h2 style="text-align:center">Réponse</h3>\n<div class="generation">' + html_diff + "</div>"
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