codys12 commited on
Commit
dac8084
1 Parent(s): 151d4c2
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -66,9 +66,11 @@ def generate(
66
  )
67
  t = Thread(target=model.generate, kwargs=generate_kwargs)
68
  t.start()
 
69
 
70
  outputs = []
71
  for text in streamer:
 
72
  outputs.append(text)
73
  yield "".join(outputs)
74
 
 
66
  )
67
  t = Thread(target=model.generate, kwargs=generate_kwargs)
68
  t.start()
69
+ print()
70
 
71
  outputs = []
72
  for text in streamer:
73
+ print(text, end="")
74
  outputs.append(text)
75
  yield "".join(outputs)
76