Spaces:
Sleeping
Sleeping
Rundstedtz
commited on
Upload app.py
Browse files
app.py
CHANGED
@@ -411,7 +411,6 @@ def main():
|
|
411 |
|
412 |
# API Key input
|
413 |
openai_api_key = st.sidebar.text_input("Enter your OpenAI API key", type="password")
|
414 |
-
openai_api_key = os.getenv('OPENAI_API_KEY')
|
415 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
416 |
openai.api_key = openai_api_key
|
417 |
|
|
|
411 |
|
412 |
# API Key input
|
413 |
openai_api_key = st.sidebar.text_input("Enter your OpenAI API key", type="password")
|
|
|
414 |
os.environ["OPENAI_API_KEY"] = openai_api_key
|
415 |
openai.api_key = openai_api_key
|
416 |
|