dindizz commited on
Commit
08b6598
1 Parent(s): d955abb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -143,6 +143,9 @@ with gr.Blocks(css="""
143
  border: 1px solid #e0e0e0;
144
  border-radius: 5px;
145
  }
 
 
 
146
  """) as game_interface:
147
  # Layout with two columns
148
  with gr.Row():
@@ -153,9 +156,10 @@ with gr.Blocks(css="""
153
  # Game output (clues and game messages)
154
  game_info = gr.Markdown("")
155
 
156
- # Section for guessing
157
- guess_input = gr.Textbox(label="Your Guess", placeholder="Type your guess here.")
158
- guess_button = gr.Button("Submit Guess")
 
159
 
160
  # Section for extra hint
161
  hint_button = gr.Button("Get Extra Hint (No Points)")
 
143
  border: 1px solid #e0e0e0;
144
  border-radius: 5px;
145
  }
146
+ #guess-section {
147
+ margin-top: 50px; /* Add vertical space before the "Your Guess" section */
148
+ }
149
  """) as game_interface:
150
  # Layout with two columns
151
  with gr.Row():
 
156
  # Game output (clues and game messages)
157
  game_info = gr.Markdown("")
158
 
159
+ # Section for guessing (with space above)
160
+ with gr.Column(elem_id="guess-section"):
161
+ guess_input = gr.Textbox(label="Your Guess", placeholder="Type your guess here.")
162
+ guess_button = gr.Button("Submit Guess")
163
 
164
  # Section for extra hint
165
  hint_button = gr.Button("Get Extra Hint (No Points)")