Spaces:
Sleeping
Sleeping
Commit
·
c52f73f
1
Parent(s):
d87f99a
Improved layout
Browse files
app.py
CHANGED
|
@@ -163,7 +163,7 @@ def evaluate(
|
|
| 163 |
return (*bordered, state, summary)
|
| 164 |
|
| 165 |
|
| 166 |
-
with gr.Blocks() as demo:
|
| 167 |
# Terms & Conditions gate
|
| 168 |
terms_cb = gr.Checkbox(
|
| 169 |
label="I agree that my game data can be used for downstream analysis purposes.",
|
|
@@ -196,7 +196,7 @@ with gr.Blocks() as demo:
|
|
| 196 |
with gr.Row():
|
| 197 |
for col in range(4):
|
| 198 |
idx = row * 4 + col
|
| 199 |
-
with gr.Column(scale=1):
|
| 200 |
img = gr.Image(type="numpy", interactive=False, show_label=False)
|
| 201 |
cb = gr.Checkbox(label="Fake?", elem_id=f"cb_{idx}")
|
| 202 |
image_components.append(img)
|
|
|
|
| 163 |
return (*bordered, state, summary)
|
| 164 |
|
| 165 |
|
| 166 |
+
with gr.Blocks(fill_width=True) as demo:
|
| 167 |
# Terms & Conditions gate
|
| 168 |
terms_cb = gr.Checkbox(
|
| 169 |
label="I agree that my game data can be used for downstream analysis purposes.",
|
|
|
|
| 196 |
with gr.Row():
|
| 197 |
for col in range(4):
|
| 198 |
idx = row * 4 + col
|
| 199 |
+
with gr.Column(min_width=200, scale=1):
|
| 200 |
img = gr.Image(type="numpy", interactive=False, show_label=False)
|
| 201 |
cb = gr.Checkbox(label="Fake?", elem_id=f"cb_{idx}")
|
| 202 |
image_components.append(img)
|