MuntasirHossain commited on
Commit
f3902de
1 Parent(s): ef831a4

Update app.py

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