tree3po commited on
Commit
9930aaa
1 Parent(s): 9fc259a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def chat_inf_a(system_prompt,prompt,history,client_choice,seed,temp,tokens,top_p
125
  )
126
  #formatted_prompt=prompt
127
  formatted_prompt = format_prompt_choose(f"{system_prompt}{prompt}", history, client_choice[0])
128
- stream1 = client1(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
129
  output = ""
130
  for response in stream1:
131
  output += response.token.text
 
125
  )
126
  #formatted_prompt=prompt
127
  formatted_prompt = format_prompt_choose(f"{system_prompt}{prompt}", history, client_choice[0])
128
+ stream1 = client1(formatted_prompt)
129
  output = ""
130
  for response in stream1:
131
  output += response.token.text