Update app.py
Browse files388 unmodified lines389390391392392393394395396397388 unmodified lines openai_api_key = gr.Textbox( label="OpenAI API Key", visible=not bool(os.getenv("OPENAI_API_KEY")), visible=True, # Always show the API key field placeholder="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