ylacombe HF staff commited on
Commit
8166583
1 Parent(s): 3922171

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def generate(
77
 
78
  formatted_prompt = format_prompt(prompt, history)
79
 
80
- stream = client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
81
  output = ""
82
 
83
  for response in stream:
 
77
 
78
  formatted_prompt = format_prompt(prompt, history)
79
 
80
+ stream = text_client.text_generation(formatted_prompt, **generate_kwargs, stream=True, details=True, return_full_text=False)
81
  output = ""
82
 
83
  for response in stream: