Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -0
src/streamlit_app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
import json
|
|
|
|
| 3 |
import os
|
| 4 |
import time
|
| 5 |
import base64
|
|
@@ -20,6 +21,8 @@ if 'slide_order' not in st.session_state:
|
|
| 20 |
st.session_state.slide_order = []
|
| 21 |
if 'presentation_title' not in st.session_state:
|
| 22 |
st.session_state.presentation_title = ""
|
|
|
|
|
|
|
| 23 |
if 'css_style' not in st.session_state:
|
| 24 |
st.session_state.css_style = """
|
| 25 |
body {
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
import json
|
| 3 |
+
import openai
|
| 4 |
import os
|
| 5 |
import time
|
| 6 |
import base64
|
|
|
|
| 21 |
st.session_state.slide_order = []
|
| 22 |
if 'presentation_title' not in st.session_state:
|
| 23 |
st.session_state.presentation_title = ""
|
| 24 |
+
if 'openai_api_key' not in st.session_state:
|
| 25 |
+
st.session_state.openai_api_key = ""
|
| 26 |
if 'css_style' not in st.session_state:
|
| 27 |
st.session_state.css_style = """
|
| 28 |
body {
|