Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -95,10 +95,10 @@ with gr.Blocks(theme=random.choice([gr.themes.Monochrome(),gr.themes.Base.from_h
|
|
95 |
with gr.Accordion("Advanced Settings", open=False):
|
96 |
inyt=gr.Slider(label="Num inference steps",minimum=1,step=1,maximum=30,value=20)
|
97 |
indt=gr.Slider(label="Manual seed (leave 0 for random)",minimum=0,step=32,maximum=2147483616,value=0)
|
98 |
-
inwt=gr.Slider(label="Width",minimum=256,step=32,maximum=
|
99 |
-
inht=gr.Slider(label="Height",minimum=256,step=32,maximum=
|
100 |
|
101 |
btn.click(fn=plax,inputs=gaul,outputs=gaul).then(fn=plex, outputs=[out], inputs=[inut,inyt,indt,inwt,inht,gaul])
|
102 |
-
|
103 |
iface.queue(max_size=1,api_open=False)
|
104 |
iface.launch(max_threads=20,inline=False,show_api=False)
|
|
|
95 |
with gr.Accordion("Advanced Settings", open=False):
|
96 |
inyt=gr.Slider(label="Num inference steps",minimum=1,step=1,maximum=30,value=20)
|
97 |
indt=gr.Slider(label="Manual seed (leave 0 for random)",minimum=0,step=32,maximum=2147483616,value=0)
|
98 |
+
inwt=gr.Slider(label="Width",minimum=256,step=32,maximum=768,value=512)
|
99 |
+
inht=gr.Slider(label="Height",minimum=256,step=32,maximum=768,value=512)
|
100 |
|
101 |
btn.click(fn=plax,inputs=gaul,outputs=gaul).then(fn=plex, outputs=[out], inputs=[inut,inyt,indt,inwt,inht,gaul])
|
102 |
+
|
103 |
iface.queue(max_size=1,api_open=False)
|
104 |
iface.launch(max_threads=20,inline=False,show_api=False)
|