Spaces:
Sleeping
Sleeping
YaTharThShaRma999
commited on
Update app.py
Browse files
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(
|