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