Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,9 @@ from operator import itemgetter
|
|
| 19 |
# Streamlit App Configuration
|
| 20 |
st.set_page_config(page_title="Docu-Help")
|
| 21 |
|
|
|
|
|
|
|
|
|
|
| 22 |
# Read API keys from environment variables
|
| 23 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
| 24 |
PINE_API_KEY = os.getenv("PINE_API_KEY")
|
|
|
|
| 19 |
# Streamlit App Configuration
|
| 20 |
st.set_page_config(page_title="Docu-Help")
|
| 21 |
|
| 22 |
+
# Dropdown for namespace selection
|
| 23 |
+
namespace_name = st.sidebar.selectbox("Select Namespace:", ('crawlee', 'langchain'), key='namespace_name')
|
| 24 |
+
|
| 25 |
# Read API keys from environment variables
|
| 26 |
OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
| 27 |
PINE_API_KEY = os.getenv("PINE_API_KEY")
|