chansung commited on
Commit
4a0a0de
1 Parent(s): 9ca5709

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ async def chat_stream(idx, local_data, instruction_txtbox, chat_state):
65
  PingPong(instruction_txtbox, "")
66
  )
67
  prompt = build_prompts(ppm, "global context", 3)
68
- for result in await gen_text(prompt, hf_model=MODEL_ID, hf_token=TOKEN):
69
  ppm.append_pong(result)
70
  yield ppm.build_uis(), str(res)
71
 
 
65
  PingPong(instruction_txtbox, "")
66
  )
67
  prompt = build_prompts(ppm, "global context", 3)
68
+ for result in gen_text(prompt, hf_model=MODEL_ID, hf_token=TOKEN):
69
  ppm.append_pong(result)
70
  yield ppm.build_uis(), str(res)
71