Iker commited on
Commit
83aa4d1
1 Parent(s): 58aa7b8
Files changed (1) hide show
  1. 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 = run_model(mode, title, text)
227
- yield title, temp, text
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)