Commit
•
c3e3949
1
Parent(s):
fd95cdb
Update app.py
Browse files
app.py
CHANGED
@@ -23,9 +23,9 @@ import nest_asyncio
|
|
23 |
nest_asyncio.apply()
|
24 |
|
25 |
# OpenAI credentials
|
26 |
-
key = os.getenv('OPENAI_API_KEY')
|
27 |
-
openai.api_key = key
|
28 |
-
os.environ["OPENAI_API_KEY"] = key
|
29 |
|
30 |
# Streamlit UI
|
31 |
st.title("Prompt Optimization for a Policy Bot")
|
|
|
23 |
nest_asyncio.apply()
|
24 |
|
25 |
# OpenAI credentials
|
26 |
+
# key = os.getenv('OPENAI_API_KEY')
|
27 |
+
# openai.api_key = key
|
28 |
+
# os.environ["OPENAI_API_KEY"] = key
|
29 |
|
30 |
# Streamlit UI
|
31 |
st.title("Prompt Optimization for a Policy Bot")
|