DrishtiSharma commited on
Commit
fe9db7b
·
verified ·
1 Parent(s): a01ba73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -1
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="Education")
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: