rodrigomasini commited on
Commit
62124a7
·
verified ·
1 Parent(s): fdb64df

Update helper.py

Browse files
Files changed (1) hide show
  1. helper.py +1 -1
helper.py CHANGED
@@ -132,7 +132,7 @@ def registry(name: str = None, **kwargs) -> gr.ChatInterface:
132
  # Collect the generated response
133
  response = ""
134
  for partial_response in response_generator:
135
- response += partial_response # Gradio will handle streaming
136
  yield response
137
 
138
  # Create the Gradio ChatInterface with the wrapper function
 
132
  # Collect the generated response
133
  response = ""
134
  for partial_response in response_generator:
135
+ response = partial_response # Gradio will handle streaming
136
  yield response
137
 
138
  # Create the Gradio ChatInterface with the wrapper function