Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -290,19 +290,16 @@ with gr.Blocks() as demo:
|
|
290 |
negative_prompt,
|
291 |
style_selection,
|
292 |
use_negative_prompt,
|
293 |
-
num_imgs,
|
294 |
seed,
|
295 |
width,
|
296 |
height,
|
297 |
-
|
298 |
-
dpms_guidance_scale,
|
299 |
-
dpms_inference_steps,
|
300 |
randomize_seed,
|
301 |
],
|
302 |
outputs=[result, seed],
|
303 |
api_name="run",
|
304 |
)
|
305 |
|
|
|
306 |
if __name__ == "__main__":
|
307 |
-
demo.queue(max_size=20).launch()
|
308 |
-
# demo.queue(max_size=20).launch(server_name="0.0.0.0", server_port=11900, debug=True)
|
|
|
290 |
negative_prompt,
|
291 |
style_selection,
|
292 |
use_negative_prompt,
|
|
|
293 |
seed,
|
294 |
width,
|
295 |
height,
|
296 |
+
inference_steps,
|
|
|
|
|
297 |
randomize_seed,
|
298 |
],
|
299 |
outputs=[result, seed],
|
300 |
api_name="run",
|
301 |
)
|
302 |
|
303 |
+
|
304 |
if __name__ == "__main__":
|
305 |
+
demo.queue(max_size=20).launch()
|
|