chansung commited on
Commit
067f48e
β€’
1 Parent(s): 05d4e26

Update ui.py

Browse files
Files changed (1) hide show
  1. ui.py +1 -1
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", " ")[:20000], ctx_num_lconv)
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,