Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -568,8 +568,17 @@ else:
|
|
568 |
|
569 |
# Step 4: Multi-Agent Story Explorer
|
570 |
st.subheader("Step 5: Explore Subtopics via Multi-Agent Graph")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
571 |
story_topic = st.text_input("Enter main topic:", value="Machine Learning")
|
572 |
-
story_context = st.text_input("Enter learning context:", value="
|
573 |
|
574 |
if st.button("Run Story Graph"):
|
575 |
if st.session_state.rag_system.document_store is None:
|
|
|
568 |
|
569 |
# Step 4: Multi-Agent Story Explorer
|
570 |
st.subheader("Step 5: Explore Subtopics via Multi-Agent Graph")
|
571 |
+
st.write("Select Story Language:")
|
572 |
+
story_language_options = ["English", "Hindi", "Spanish", "French", "German", "Chinese", "Japanese"]
|
573 |
+
story_language = st.radio(
|
574 |
+
"",
|
575 |
+
story_language_options,
|
576 |
+
horizontal=True,
|
577 |
+
key="story_language"
|
578 |
+
)
|
579 |
+
|
580 |
story_topic = st.text_input("Enter main topic:", value="Machine Learning")
|
581 |
+
story_context = st.text_input("Enter learning context:", value="Pollution")
|
582 |
|
583 |
if st.button("Run Story Graph"):
|
584 |
if st.session_state.rag_system.document_store is None:
|