hysts HF staff commited on
Commit
539c620
·
1 Parent(s): e909f79

Reduce the maximum batch size so that it won't exceed the CPU memory limit on Hugging Face Spaces

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, 10, step=1, default=1, label='Number of Rows'),
135
  gr.inputs.Slider(
136
- 1, 10, step=1, default=5, label='Number of Columns'),
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'),