Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,11 @@ grid_sizes = {
|
|
| 53 |
"2x2": (2, 2),
|
| 54 |
"2x3": (2, 3),
|
| 55 |
"3x2": (3, 2),
|
| 56 |
-
"1x1": (1, 1)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
}
|
| 58 |
|
| 59 |
@spaces.GPU(duration=60)
|
|
@@ -152,7 +156,7 @@ with gr.Blocks(css=css, theme="prithivMLmods/Minecraft-Theme") as demo:
|
|
| 152 |
|
| 153 |
with gr.Row(visible=True):
|
| 154 |
grid_size_selection = gr.Dropdown(
|
| 155 |
-
choices=["2x1", "1x2", "2x2", "2x3", "3x2", "1x1"]
|
| 156 |
value="1x1",
|
| 157 |
label="Grid Size"
|
| 158 |
)
|
|
|
|
| 53 |
"2x2": (2, 2),
|
| 54 |
"2x3": (2, 3),
|
| 55 |
"3x2": (3, 2),
|
| 56 |
+
"1x1": (1, 1),
|
| 57 |
+
"2x4": (2, 4),
|
| 58 |
+
"4x2": (4, 2),
|
| 59 |
+
"3x3": (3, 3),
|
| 60 |
+
"4x4": (4, 4)
|
| 61 |
}
|
| 62 |
|
| 63 |
@spaces.GPU(duration=60)
|
|
|
|
| 156 |
|
| 157 |
with gr.Row(visible=True):
|
| 158 |
grid_size_selection = gr.Dropdown(
|
| 159 |
+
choices=["2x1", "1x2", "2x2", "2x3", "3x2", "1x1", "2x4", "4x2", "3x3", "4x4"]
|
| 160 |
value="1x1",
|
| 161 |
label="Grid Size"
|
| 162 |
)
|