Omnibus commited on
Commit
125deff
1 Parent(s): 8d8e220

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def chat_inf(system_prompt,prompt,history,client_choice,seed,temp,tokens,top_p,r
65
  hist_len=len(history)
66
  print(hist_len)
67
  in_len=len(system_prompt+prompt)+hist_len
68
- print("\n#########"+in_len)
69
  if (in_len+tokens) > 8000:
70
  yield [(prompt,"Wait. I need to compress our Chat history...")]
71
  #history=compress_history(history,client_choice,seed,temp,tokens,top_p,rep_p)
 
65
  hist_len=len(history)
66
  print(hist_len)
67
  in_len=len(system_prompt+prompt)+hist_len
68
+ print("\n#########"+str(in_len))
69
  if (in_len+tokens) > 8000:
70
  yield [(prompt,"Wait. I need to compress our Chat history...")]
71
  #history=compress_history(history,client_choice,seed,temp,tokens,top_p,rep_p)