Omnibus commited on
Commit
49e3627
1 Parent(s): 8686afb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -44,8 +44,8 @@ def chat_inf(system_prompt,prompt,history,client_choice):
44
  do_sample=True,
45
  seed=seed,
46
  )
47
- formatted_prompt=prompt
48
- #formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
49
  stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
50
  output = ""
51
 
 
44
  do_sample=True,
45
  seed=seed,
46
  )
47
+ #formatted_prompt=prompt
48
+ formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
49
  stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
50
  output = ""
51