Spaces:
Runtime error
Runtime error
Commit
·
8a6a672
1
Parent(s):
eb4719e
improving page design
Browse files- app.py +1 -1
- webpage.py +1 -1
app.py
CHANGED
|
@@ -165,7 +165,7 @@ with demo:
|
|
| 165 |
gr_user_input = gr.Textbox(label="", value="", placeholder="Describe your next action here...", interactive=True)
|
| 166 |
gr_button1 = gr.Button(value="Run Next Turn")
|
| 167 |
|
| 168 |
-
gr_n_turns_elapsed = gr.Textbox(label="N Turns Elapsed", value="0", interactive=False)
|
| 169 |
|
| 170 |
gr_music_player = gr.HTML(MUSIC_PLAYER)
|
| 171 |
|
|
|
|
| 165 |
gr_user_input = gr.Textbox(label="", value="", placeholder="Describe your next action here...", interactive=True)
|
| 166 |
gr_button1 = gr.Button(value="Run Next Turn")
|
| 167 |
|
| 168 |
+
gr_n_turns_elapsed = gr.Textbox(label="N Turns Elapsed", value="0", interactive=False, visible=False)
|
| 169 |
|
| 170 |
gr_music_player = gr.HTML(MUSIC_PLAYER)
|
| 171 |
|
webpage.py
CHANGED
|
@@ -24,7 +24,7 @@ After clicking Run Next Turn, please be patient as it may take up to a minute fo
|
|
| 24 |
|
| 25 |
|
| 26 |
MUSIC_PLAYER = """
|
| 27 |
-
<div style="background-color: white; font-family: cursive; font-size: 19px; padding: 2px 17px;">
|
| 28 |
Optional: Click player below to play Nepali music that goes with this game.
|
| 29 |
<audio controls src="https://storage.cloud.google.com/public-file-hosting/NepaliFolkMusic.mp3"></audio>
|
| 30 |
</div>
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
MUSIC_PLAYER = """
|
| 27 |
+
<div style="background-color: white; font-family: cursive; font-size: 19px; margin-top: 60px; padding: 2px 17px;">
|
| 28 |
Optional: Click player below to play Nepali music that goes with this game.
|
| 29 |
<audio controls src="https://storage.cloud.google.com/public-file-hosting/NepaliFolkMusic.mp3"></audio>
|
| 30 |
</div>
|