YaTharThShaRma999 commited on
Commit
41161d0
1 Parent(s): 0eea8ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -56,6 +56,7 @@ with gr.Blocks(theme=theme) as demo:
56
  if count >= 500 or (token == llm2.token_eos()):
57
  break
58
  output += text.decode(errors='ignore')
 
59
  yield output
60
  gr.HTML("Thanks for checking out this app!")
61
  gr.Button("Answer").click(
 
56
  if count >= 500 or (token == llm2.token_eos()):
57
  break
58
  output += text.decode(errors='ignore')
59
+ print(output, end="")
60
  yield output
61
  gr.HTML("Thanks for checking out this app!")
62
  gr.Button("Answer").click(