Spaces:
Sleeping
Sleeping
Commit
·
b16e227
1
Parent(s):
7d849d3
message
Browse files
app.py
CHANGED
|
@@ -1,4 +1,11 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
genre = st.radio(
|
| 4 |
+
"What's your favorite movie genre",
|
| 5 |
+
[":rainbow[Comedy]", "***Drama***", "Documentary :movie_camera:"],
|
| 6 |
+
captions = ["Laugh out loud.", "Get the popcorn.", "Never stop learning."])
|
| 7 |
+
|
| 8 |
+
if genre == ':rainbow[Comedy]':
|
| 9 |
+
st.write('You selected comedy.')
|
| 10 |
+
else:
|
| 11 |
+
st.write("You didn\'t select comedy.")
|