Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,9 @@ def txt2speech(text: str) -> None:
|
|
| 52 |
|
| 53 |
def get_user_preferences() -> Dict[str, str]:
|
| 54 |
preferences = {}
|
| 55 |
-
|
|
|
|
|
|
|
| 56 |
preferences['genre'] = st.selectbox("Genre", ["Science Fiction", "Fantasy", "Mystery", "Romance"])
|
| 57 |
preferences['setting'] = st.selectbox("Setting", ["Future", "Medieval times", "Modern day", "Alternate reality"])
|
| 58 |
preferences['plot'] = st.selectbox("Plot", ["Hero's journey", "Solving a mystery", "Love story", "Survival"])
|
|
|
|
| 52 |
|
| 53 |
def get_user_preferences() -> Dict[str, str]:
|
| 54 |
preferences = {}
|
| 55 |
+
|
| 56 |
+
preferences['continent'] = st.selectbox("Continent", ["North America", "Europe", "Asia", "Africa"])
|
| 57 |
+
preferences['language'] = st.selectbox("Language", ["English", "Hindi", "Spanish", "French", "German"])
|
| 58 |
preferences['genre'] = st.selectbox("Genre", ["Science Fiction", "Fantasy", "Mystery", "Romance"])
|
| 59 |
preferences['setting'] = st.selectbox("Setting", ["Future", "Medieval times", "Modern day", "Alternate reality"])
|
| 60 |
preferences['plot'] = st.selectbox("Plot", ["Hero's journey", "Solving a mystery", "Love story", "Survival"])
|