Update app.py
Browse files
app.py
CHANGED
|
@@ -262,6 +262,27 @@ with st.sidebar:
|
|
| 262 |
st.markdown("3. Ask questions.")
|
| 263 |
st.markdown("4. Create podcasts.")
|
| 264 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 265 |
# Streamlit UI
|
| 266 |
# Sidebar
|
| 267 |
#with st.sidebar:
|
|
|
|
| 262 |
st.markdown("3. Ask questions.")
|
| 263 |
st.markdown("4. Create podcasts.")
|
| 264 |
|
| 265 |
+
|
| 266 |
+
# Sidebar: Language Selection
|
| 267 |
+
with st.sidebar:
|
| 268 |
+
st.title("Settings")
|
| 269 |
+
summary_language = st.radio(
|
| 270 |
+
"Select Summary Language:",
|
| 271 |
+
["English", "Spanish", "French", "German", "Chinese"],
|
| 272 |
+
index=0
|
| 273 |
+
)
|
| 274 |
+
qa_language = st.radio(
|
| 275 |
+
"Select Q&A Language:",
|
| 276 |
+
["English", "Spanish", "French", "German", "Chinese"],
|
| 277 |
+
index=0
|
| 278 |
+
)
|
| 279 |
+
podcast_language = st.radio(
|
| 280 |
+
"Select Podcast Language:",
|
| 281 |
+
["English", "Spanish", "French", "German", "Chinese"],
|
| 282 |
+
index=0
|
| 283 |
+
)
|
| 284 |
+
|
| 285 |
+
|
| 286 |
# Streamlit UI
|
| 287 |
# Sidebar
|
| 288 |
#with st.sidebar:
|