Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -397,6 +397,16 @@ with st.sidebar:
|
|
| 397 |
st.title("Document Analyzer & Podcast Generator")
|
| 398 |
st.image("./cover_image.png", use_container_width=True)
|
| 399 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 400 |
|
| 401 |
# Step 1: Upload and Process Documents
|
| 402 |
st.subheader("Step 1: Upload and Process Documents")
|
|
|
|
| 397 |
st.title("Document Analyzer & Podcast Generator")
|
| 398 |
st.image("./cover_image.png", use_container_width=True)
|
| 399 |
|
| 400 |
+
# Embedding model selector (main screen)
|
| 401 |
+
st.subheader("Embedding Model Selection")
|
| 402 |
+
embedding_choice = st.radio(
|
| 403 |
+
"Choose the embedding model for document processing and story generation:",
|
| 404 |
+
["OpenAI", "Cohere"],
|
| 405 |
+
horizontal=True,
|
| 406 |
+
key="embedding_model"
|
| 407 |
+
)
|
| 408 |
+
|
| 409 |
+
|
| 410 |
|
| 411 |
# Step 1: Upload and Process Documents
|
| 412 |
st.subheader("Step 1: Upload and Process Documents")
|