Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,6 @@ user_api_key = st.sidebar.text_input(
|
|
47 |
type="password")
|
48 |
|
49 |
def ui():
|
50 |
-
user_api_key = st.sidebar.text_input("OpenAI API Key", type="password")
|
51 |
|
52 |
if user_api_key is not None and user_api_key.strip() != "":
|
53 |
os.environ["OPENAI_API_KEY"] = user_api_key
|
|
|
47 |
type="password")
|
48 |
|
49 |
def ui():
|
|
|
50 |
|
51 |
if user_api_key is not None and user_api_key.strip() != "":
|
52 |
os.environ["OPENAI_API_KEY"] = user_api_key
|