Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,13 +64,6 @@ with st.sidebar:
|
|
| 64 |
except OpenAIError as e:
|
| 65 |
st.error(e._message)
|
| 66 |
|
| 67 |
-
tab1, tab2 = st.tabs(["Chat with the File"])
|
| 68 |
-
with tab1:
|
| 69 |
-
st.markdown("### How does it work?")
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
with tab2:
|
| 74 |
st.write('To obtain an API Key you must create an OpenAI account at the following link: https://openai.com/api/')
|
| 75 |
if 'generated' not in st.session_state:
|
| 76 |
st.session_state['generated'] = []
|
|
|
|
| 64 |
except OpenAIError as e:
|
| 65 |
st.error(e._message)
|
| 66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
st.write('To obtain an API Key you must create an OpenAI account at the following link: https://openai.com/api/')
|
| 68 |
if 'generated' not in st.session_state:
|
| 69 |
st.session_state['generated'] = []
|