diff --git a/private_gpt/ui/ui.py b/private_gpt/ui/ui.py index 23a2ce2c..56136168 100644 --- a/private_gpt/ui/ui.py +++ b/private_gpt/ui/ui.py @@ -426,12 +426,10 @@ class PrivateGptUi: interactive=False, ) response_style = gr.Checkbox( - label="Response Style: Streaming", - value=self._response_style + label="Response Style: Streaming", value=self._response_style ) response_style.input( - self._set_response_style, - inputs=response_style + self._set_response_style, inputs=response_style ) upload_button = gr.components.UploadButton( "Upload File(s)",