Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,10 +74,10 @@ def ui():
|
|
| 74 |
st.session_state['history'] = []
|
| 75 |
|
| 76 |
if 'generated' not in st.session_state:
|
| 77 |
-
st.session_state['generated'] = [
|
| 78 |
|
| 79 |
if 'past' not in st.session_state:
|
| 80 |
-
st.session_state['past'] = [
|
| 81 |
|
| 82 |
if user_api_key is not None and user_api_key.strip() != "":
|
| 83 |
eleven_labs_api_key = st.sidebar.text_input(
|
|
|
|
| 74 |
st.session_state['history'] = []
|
| 75 |
|
| 76 |
if 'generated' not in st.session_state:
|
| 77 |
+
st.session_state['generated'] = []
|
| 78 |
|
| 79 |
if 'past' not in st.session_state:
|
| 80 |
+
st.session_state['past'] = []
|
| 81 |
|
| 82 |
if user_api_key is not None and user_api_key.strip() != "":
|
| 83 |
eleven_labs_api_key = st.sidebar.text_input(
|