Spaces:
Runtime error
Runtime error
Reduce the maximum batch size so that it won't exceed the CPU memory limit on Hugging Face Spaces
Browse files
app.py
CHANGED
@@ -131,9 +131,9 @@ def main():
|
|
131 |
0, 255, step=1, default=158, label='Hair Color (G)'),
|
132 |
gr.inputs.Slider(
|
133 |
0, 255, step=1, default=92, label='Hair Color (B)'),
|
134 |
-
gr.inputs.Slider(1,
|
135 |
gr.inputs.Slider(
|
136 |
-
1,
|
137 |
],
|
138 |
[
|
139 |
gr.outputs.Image(type='pil', label='Generated Image'),
|
|
|
131 |
0, 255, step=1, default=158, label='Hair Color (G)'),
|
132 |
gr.inputs.Slider(
|
133 |
0, 255, step=1, default=92, label='Hair Color (B)'),
|
134 |
+
gr.inputs.Slider(1, 3, step=1, default=1, label='Number of Rows'),
|
135 |
gr.inputs.Slider(
|
136 |
+
1, 5, step=1, default=5, label='Number of Columns'),
|
137 |
],
|
138 |
[
|
139 |
gr.outputs.Image(type='pil', label='Generated Image'),
|