Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,8 @@ opposite_faces = {
|
|
| 20 |
"Cá": "Bầu"
|
| 21 |
}
|
| 22 |
|
| 23 |
-
|
|
|
|
| 24 |
|
| 25 |
# Roll times selector
|
| 26 |
roll_times = st.selectbox("Số lần lắc:", ["1000", "5", "50", "100", "500", "1"])
|
|
|
|
| 20 |
"Cá": "Bầu"
|
| 21 |
}
|
| 22 |
|
| 23 |
+
# Change dropdowns to radio buttons
|
| 24 |
+
face_selectors = [st.radio(f"Chọn mặt xúc xắc {i+1}", valid_faces) for i in range(3)]
|
| 25 |
|
| 26 |
# Roll times selector
|
| 27 |
roll_times = st.selectbox("Số lần lắc:", ["1000", "5", "50", "100", "500", "1"])
|