From 47809e28aa015b6550833250ee9c97f531cd4378 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Mon, 24 Apr 2023 01:04:48 -0300 Subject: [PATCH] Minor changes --- server.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/server.py b/server.py index ca44cdb5..573552ff 100644 --- a/server.py +++ b/server.py @@ -806,7 +806,6 @@ def create_interface(): # notebook/default modes event handlers else: shared.input_params = [shared.gradio[k] for k in ['textbox', 'interface_state']] - if shared.args.notebook: output_params = [shared.gradio[k] for k in ['textbox', 'markdown', 'html']] else: @@ -908,7 +907,6 @@ if __name__ == "__main__": # If any model has been selected, load it if shared.model_name != 'None': - model_settings = get_model_specific_settings(shared.model_name) shared.settings.update(model_settings) # hijacking the interface defaults update_model_parameters(model_settings, initial=True) # hijacking the command-line arguments