Move buttons below the image
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
emoji: 🕵️
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: pink
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Real or Fake?
|
| 3 |
emoji: 🕵️
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: pink
|
app.py
CHANGED
|
@@ -264,9 +264,6 @@ with gr.Blocks(css=custom_css) as iface:
|
|
| 264 |
interactive=False,
|
| 265 |
visible=False
|
| 266 |
)
|
| 267 |
-
|
| 268 |
-
with gr.Column(scale=1):
|
| 269 |
-
score_display = gr.HTML()
|
| 270 |
with gr.Row(elem_id="guess-buttons"):
|
| 271 |
real_button = gr.Button(
|
| 272 |
"Real",
|
|
@@ -277,9 +274,12 @@ with gr.Blocks(css=custom_css) as iface:
|
|
| 277 |
fake_button = gr.Button(
|
| 278 |
"Fake",
|
| 279 |
visible=False,
|
| 280 |
-
variant="
|
| 281 |
elem_classes=["guess-button"]
|
| 282 |
)
|
|
|
|
|
|
|
|
|
|
| 283 |
|
| 284 |
with gr.Row():
|
| 285 |
with gr.Column(elem_id="start-button"):
|
|
|
|
| 264 |
interactive=False,
|
| 265 |
visible=False
|
| 266 |
)
|
|
|
|
|
|
|
|
|
|
| 267 |
with gr.Row(elem_id="guess-buttons"):
|
| 268 |
real_button = gr.Button(
|
| 269 |
"Real",
|
|
|
|
| 274 |
fake_button = gr.Button(
|
| 275 |
"Fake",
|
| 276 |
visible=False,
|
| 277 |
+
variant="primary",
|
| 278 |
elem_classes=["guess-button"]
|
| 279 |
)
|
| 280 |
+
|
| 281 |
+
with gr.Column(scale=1):
|
| 282 |
+
score_display = gr.HTML()
|
| 283 |
|
| 284 |
with gr.Row():
|
| 285 |
with gr.Column(elem_id="start-button"):
|