Spaces:
Sleeping
Sleeping
Rename demo.py to app.py
Browse files- demo.py β app.py +3 -1
demo.py β app.py
RENAMED
@@ -3,7 +3,9 @@ import openai
|
|
3 |
import streamlit as st
|
4 |
|
5 |
# Setting the API key
|
6 |
-
|
|
|
|
|
7 |
|
8 |
st.set_page_config(page_title="SmartStarts", page_icon="π€", layout="centered", initial_sidebar_state="auto", menu_items=None)
|
9 |
|
|
|
3 |
import streamlit as st
|
4 |
|
5 |
# Setting the API key
|
6 |
+
test_key_print = os.environ['OPENAI_KEY']
|
7 |
+
openai.api_key = test_key_print
|
8 |
+
|
9 |
|
10 |
st.set_page_config(page_title="SmartStarts", page_icon="π€", layout="centered", initial_sidebar_state="auto", menu_items=None)
|
11 |
|