Spaces:
Running
Running
Commit
·
a84afa6
1
Parent(s):
4a0aeac
Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ def app(text, language, model, level, audio_output, file_upload):
|
|
70 |
paraphrased_text = paraphrase_text(text, languages[language], models[model], level)
|
71 |
if audio_output:
|
72 |
speak_paraphrased_text(paraphrased_text, languages[language])
|
73 |
-
download_output = gr.outputs.Download(paraphrased_text, label="Download paraphrased text as text file:", mime_type="text/plain")
|
74 |
highlighted_diffs = highlight_diffs(text, paraphrased_text, level)
|
75 |
return paraphrased_text, download_output, highlighted_diffs
|
76 |
|
|
|
70 |
paraphrased_text = paraphrase_text(text, languages[language], models[model], level)
|
71 |
if audio_output:
|
72 |
speak_paraphrased_text(paraphrased_text, languages[language])
|
73 |
+
#download_output = gr.outputs.Download(paraphrased_text, label="Download paraphrased text as text file:", mime_type="text/plain")
|
74 |
highlighted_diffs = highlight_diffs(text, paraphrased_text, level)
|
75 |
return paraphrased_text, download_output, highlighted_diffs
|
76 |
|