lemtoad commited on
Commit
f4611b8
·
verified ·
1 Parent(s): e18ffd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def generate(
30
 
31
  formatted_prompt = format_prompt(prompt, history)
32
 
33
- stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=False, details=True, return_full_text=True)
34
  output = ""
35
 
36
  for response in stream:
 
30
 
31
  formatted_prompt = format_prompt(prompt, history)
32
 
33
+ stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
34
  output = ""
35
 
36
  for response in stream: