diff --git a/webui.py b/webui.py index 4f99b2f..39e6421 100644 --- a/webui.py +++ b/webui.py @@ -425,13 +425,13 @@ def create_ui(theme_name="Ocean"): with gr.Row(): llm_base_url = gr.Textbox( label="Base URL", - value=os.getenv(f"{llm_provider.value.upper()}_BASE_URL ", ""), # Default to .env value + value='', info="API endpoint URL (if required)" ) llm_api_key = gr.Textbox( label="API Key", type="password", - value=os.getenv(f"{llm_provider.value.upper()}_API_KEY", ""), # Default to .env value + value='', info="Your API key (leave blank to use .env)" )