Spaces:
Running
on
Zero
Running
on
Zero
Fix
Browse files- app_zero.py +2 -2
app_zero.py
CHANGED
@@ -223,8 +223,8 @@ def generate_text(
|
|
223 |
progress(0.5, desc="🤖 Leyendo noticia")
|
224 |
|
225 |
try:
|
226 |
-
temp
|
227 |
-
|
228 |
|
229 |
except Exception as e:
|
230 |
print(e)
|
|
|
223 |
progress(0.5, desc="🤖 Leyendo noticia")
|
224 |
|
225 |
try:
|
226 |
+
for temp in run_model(mode, title, text):
|
227 |
+
yield title, temp, text
|
228 |
|
229 |
except Exception as e:
|
230 |
print(e)
|