Spaces:
Runtime error
Runtime error
Update backup-app.py
Browse files- backup-app.py +7 -5
backup-app.py
CHANGED
@@ -75,14 +75,16 @@ def run_simulations(num_simulations):
|
|
75 |
|
76 |
# Define the Streamlit app
|
77 |
|
|
|
78 |
st.title('🎭 Acting Game Mechanics')
|
79 |
st.write('🎯 Welcome to the Acting Game Mechanics! This game measures your ability to bluff, deduce, use humor, remember details, and role-play. Drag the sliders to the left or right to adjust each skill, and click 🎭 Play to act out a scenario and receive a score.')
|
80 |
|
81 |
-
|
82 |
-
st.slider('
|
83 |
-
st.slider('
|
84 |
-
st.slider('
|
85 |
-
st.slider('
|
|
|
86 |
|
87 |
if st.button('🎭 Play'):
|
88 |
game_history_df = play_game(slider_values)
|
|
|
75 |
|
76 |
# Define the Streamlit app
|
77 |
|
78 |
+
st.set_page_config(layout="wide")
|
79 |
st.title('🎭 Acting Game Mechanics')
|
80 |
st.write('🎯 Welcome to the Acting Game Mechanics! This game measures your ability to bluff, deduce, use humor, remember details, and role-play. Drag the sliders to the left or right to adjust each skill, and click 🎭 Play to act out a scenario and receive a score.')
|
81 |
|
82 |
+
with st.sidebar:
|
83 |
+
slider_values = [st.slider('🃏 Bluffing', 1, 10, 5),
|
84 |
+
st.slider('🕵️ Deduction', 1, 10, 5),
|
85 |
+
st.slider('😂 Humor', 1, 10, 5),
|
86 |
+
st.slider('🧠 Memory', 1, 10, 5),
|
87 |
+
st.slider('👥 Roleplay', 1, 10, 5)]
|
88 |
|
89 |
if st.button('🎭 Play'):
|
90 |
game_history_df = play_game(slider_values)
|