Yuchan5386 commited on
Commit
7cb8b57
Β·
verified Β·
1 Parent(s): f07f074

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -197,8 +197,8 @@ def chat_stream(user_input, history_text):
197
  partial_text = ""
198
  for partial_response in generate_text_topp_stream(model, user_input):
199
  partial_text = partial_response
200
- yield history_text + f"μ‚¬μš©μž: {user_input}\nKeraLux: {partial_text}\n", \
201
- history_text + f"μ‚¬μš©μž: {user_input}\nKeraLux: {partial_text}\n"
202
 
203
  with gr.Blocks() as demo:
204
  gr.Markdown("### πŸ“Ÿ ColloGPT Textbot with Streaming")
 
197
  partial_text = ""
198
  for partial_response in generate_text_topp_stream(model, user_input):
199
  partial_text = partial_response
200
+ yield history_text + f"μ‚¬μš©μž: {user_input}\nColloGPT: {partial_text}\n", \
201
+ history_text + f"μ‚¬μš©μž: {user_input}\nColloGPT: {partial_text}\n"
202
 
203
  with gr.Blocks() as demo:
204
  gr.Markdown("### πŸ“Ÿ ColloGPT Textbot with Streaming")