DinoFrog commited on
Commit
d9529c2
·
verified ·
1 Parent(s): f3ce497

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def full_analysis(text, mode, detail_mode, count, history, clarity_scores):
81
  {"Write a concise paragraph." if detail_mode == "Normal" else "Write a detailed explanation over multiple paragraphs."}
82
  """
83
 
84
- explanation_en = call_mistral_api(prompt)
85
  explanation_fr = translator_to_fr(explanation_en, max_length=512)[0]['translation_text']
86
 
87
  clarity_score = textstat.flesch_reading_ease(explanation_en)
 
81
  {"Write a concise paragraph." if detail_mode == "Normal" else "Write a detailed explanation over multiple paragraphs."}
82
  """
83
 
84
+ explanation_en = call_zephyr_api(prompt)
85
  explanation_fr = translator_to_fr(explanation_en, max_length=512)[0]['translation_text']
86
 
87
  clarity_score = textstat.flesch_reading_ease(explanation_en)