Spaces:
Runtime error
Runtime error
storresbusquets
commited on
Commit
·
5463224
1
Parent(s):
daa5ff3
Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ class GradioInference:
|
|
123 |
# WordCloud image to display
|
124 |
wordcloud_image = wordcloud.to_image()
|
125 |
|
126 |
-
if lang
|
127 |
return (
|
128 |
results["text"],
|
129 |
transcription_summary[0]["summary_text"],
|
@@ -228,7 +228,7 @@ class GradioInference:
|
|
228 |
)
|
229 |
wordcloud_image = wordcloud.to_image()
|
230 |
|
231 |
-
if lang
|
232 |
return (
|
233 |
results["text"],
|
234 |
transcription_summary[0]["summary_text"],
|
|
|
123 |
# WordCloud image to display
|
124 |
wordcloud_image = wordcloud.to_image()
|
125 |
|
126 |
+
if lang == "english":
|
127 |
return (
|
128 |
results["text"],
|
129 |
transcription_summary[0]["summary_text"],
|
|
|
228 |
)
|
229 |
wordcloud_image = wordcloud.to_image()
|
230 |
|
231 |
+
if lang == "english":
|
232 |
return (
|
233 |
results["text"],
|
234 |
transcription_summary[0]["summary_text"],
|