HMinions commited on
Commit
2c7a52b
·
1 Parent(s): 739fcf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ async def get_model_reply(prompt,style,cookies,context=[]):
17
  # given the most recent context (4096 characters)
18
  # continue the text up to 2048 tokens ~ 8192 charaters
19
  bot = Chatbot(cookies=cookies)
20
- prompt2='\n\n'.join(context)[:5000]
21
  raw_data = await bot.ask(prompt2, conversation_style=style)
22
  await bot.close()
23
  #print(raw_data)
 
17
  # given the most recent context (4096 characters)
18
  # continue the text up to 2048 tokens ~ 8192 charaters
19
  bot = Chatbot(cookies=cookies)
20
+ prompt2='\n\n'.join(context)[:4096]
21
  raw_data = await bot.ask(prompt2, conversation_style=style)
22
  await bot.close()
23
  #print(raw_data)