swethac18 commited on
Commit
88ebf9c
1 Parent(s): baaa50e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ def generate(
59
  seed = seed + 1
60
  formatted_prompt = format_prompt(prompt, history, system_prompt)
61
 
62
- stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
63
  output = ""
64
 
65
  for response in stream:
 
59
  seed = seed + 1
60
  formatted_prompt = format_prompt(prompt, history, system_prompt)
61
 
62
+ stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=True)
63
  output = ""
64
 
65
  for response in stream: