karimouda commited on
Commit
79eb334
·
verified ·
1 Parent(s): 8ecbfe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -58,9 +58,10 @@ def generate(
58
  )
59
  t = Thread(target=model.generate, kwargs=generate_kwargs)
60
  t.start()
61
-
62
  outputs = []
63
  for text in streamer:
 
64
  outputs.append(text)
65
  yield "".join(outputs)
66
 
 
58
  )
59
  t = Thread(target=model.generate, kwargs=generate_kwargs)
60
  t.start()
61
+ print(streamer)
62
  outputs = []
63
  for text in streamer:
64
+ print(text)
65
  outputs.append(text)
66
  yield "".join(outputs)
67