Spaces:
Sleeping
Sleeping
Update attempt2.py
Browse files- attempt2.py +4 -4
attempt2.py
CHANGED
|
@@ -517,7 +517,7 @@ if st.button("Process Documents"):
|
|
| 517 |
# Step 2: Generate Summary
|
| 518 |
st.subheader("Step 2: Generate Summary")
|
| 519 |
st.write("Select Summary Language:")
|
| 520 |
-
summary_language_options = ["English", "Hindi", "Urdu", "Spanish", "French", "
|
| 521 |
summary_language = st.radio(
|
| 522 |
"",
|
| 523 |
summary_language_options,
|
|
@@ -541,7 +541,7 @@ if st.button("Generate Summary"):
|
|
| 541 |
# Step 3: Ask Questions
|
| 542 |
st.subheader("Step 3: Ask Questions")
|
| 543 |
st.write("Select Q&A Language:")
|
| 544 |
-
qa_language_options = ["English", "Hindi", "Urdu", "Spanish", "French", "
|
| 545 |
qa_language = st.radio(
|
| 546 |
"",
|
| 547 |
qa_language_options,
|
|
@@ -565,7 +565,7 @@ else:
|
|
| 565 |
# Step 4: Multi-Agent Story Explorer
|
| 566 |
st.subheader("Step 5: Explore Subtopics via Multi-Agent Graph")
|
| 567 |
st.write("Select Story Language:")
|
| 568 |
-
story_language_options = ["English", "Urdu", "Hindi", "Spanish", "French", "
|
| 569 |
story_language = st.radio(
|
| 570 |
"",
|
| 571 |
story_language_options,
|
|
@@ -605,7 +605,7 @@ if st.button("Run Story Graph"):
|
|
| 605 |
# Step 5: Generate Podcast
|
| 606 |
st.subheader("Step 4: Generate Podcast")
|
| 607 |
st.write("Select Podcast Language:")
|
| 608 |
-
podcast_language_options = ["English", "Urdu", "Hindi", "Spanish", "French", "
|
| 609 |
podcast_language = st.radio(
|
| 610 |
"",
|
| 611 |
podcast_language_options,
|
|
|
|
| 517 |
# Step 2: Generate Summary
|
| 518 |
st.subheader("Step 2: Generate Summary")
|
| 519 |
st.write("Select Summary Language:")
|
| 520 |
+
summary_language_options = ["English", "Hindi", "Urdu", "Spanish", "French", "Chinese", "Japanese"]
|
| 521 |
summary_language = st.radio(
|
| 522 |
"",
|
| 523 |
summary_language_options,
|
|
|
|
| 541 |
# Step 3: Ask Questions
|
| 542 |
st.subheader("Step 3: Ask Questions")
|
| 543 |
st.write("Select Q&A Language:")
|
| 544 |
+
qa_language_options = ["English", "Hindi", "Urdu", "Spanish", "French", "Chinese", "Japanese"]
|
| 545 |
qa_language = st.radio(
|
| 546 |
"",
|
| 547 |
qa_language_options,
|
|
|
|
| 565 |
# Step 4: Multi-Agent Story Explorer
|
| 566 |
st.subheader("Step 5: Explore Subtopics via Multi-Agent Graph")
|
| 567 |
st.write("Select Story Language:")
|
| 568 |
+
story_language_options = ["English", "Urdu", "Hindi", "Spanish", "French", "Chinese", "Japanese"]
|
| 569 |
story_language = st.radio(
|
| 570 |
"",
|
| 571 |
story_language_options,
|
|
|
|
| 605 |
# Step 5: Generate Podcast
|
| 606 |
st.subheader("Step 4: Generate Podcast")
|
| 607 |
st.write("Select Podcast Language:")
|
| 608 |
+
podcast_language_options = ["English", "Urdu", "Hindi", "Spanish", "French", "Chinese", "Japanese"]
|
| 609 |
podcast_language = st.radio(
|
| 610 |
"",
|
| 611 |
podcast_language_options,
|