Update app.py
Browse files388 unmodified lines389390391392393394395396388 unmodified linesopenai_api_key = gr.Textbox(label="OpenAI API Key",visible=not bool(os.getenv("OPENAI_API_KEY")),placeholder="Enter your OpenAI API Key here...",)text_model = gr.Dropdown(label="Text Generation Model",388 unmodified lines389390391392393394395396397388 unmodified linesopenai_api_key = gr.Textbox(label="OpenAI API Key",visible=True, # Always show the API key fieldplaceholder="Enter your OpenAI API Key here...",type="password" # Hide the API key input)text_model = gr.Dropdown(label="Text Generation Model",
app.py+2-1