Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update ui.py
Browse files
ui.py
CHANGED
@@ -243,7 +243,7 @@ async def chat_stream(idx, local_data, user_prompt, chat_state, ctx_num_lconv=3)
|
|
243 |
""
|
244 |
)
|
245 |
)
|
246 |
-
prompt = _build_prompts(ppm, DEFAULT_GLOBAL_CTX % paper["full_text"].replace("\n", " ")[:
|
247 |
|
248 |
# async for result in open_llm_gen_text(
|
249 |
# prompt,
|
|
|
243 |
""
|
244 |
)
|
245 |
)
|
246 |
+
prompt = _build_prompts(ppm, DEFAULT_GLOBAL_CTX % paper["full_text"].replace("\n", " ")[:30000], ctx_num_lconv)
|
247 |
|
248 |
# async for result in open_llm_gen_text(
|
249 |
# prompt,
|