JoPmt commited on
Commit
9943a61
1 Parent(s): 4bc6a3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,8 +95,8 @@ with gr.Blocks(theme=random.choice([gr.themes.Monochrome(),gr.themes.Base.from_h
95
  inet=gr.Textbox(label="Negative_prompt", value="lowres,text,bad quality,low quality,jpeg artifacts,ugly,bad hands,bad face,blurry,bad eyes,watermark,signature")
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=768)
99
- inht=gr.Slider(label="Height",minimum=256,step=32,maximum=768,value=768)
100
 
101
  btn.click(fn=plax,inputs=gaul,outputs=gaul).then(fn=plex, outputs=[out], inputs=[inut,inet,inyt,indt,inwt,inht,gaul])
102
 
 
95
  inet=gr.Textbox(label="Negative_prompt", value="lowres,text,bad quality,low quality,jpeg artifacts,ugly,bad hands,bad face,blurry,bad eyes,watermark,signature")
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=512,value=512)
99
+ inht=gr.Slider(label="Height",minimum=256,step=32,maximum=512,value=512)
100
 
101
  btn.click(fn=plax,inputs=gaul,outputs=gaul).then(fn=plex, outputs=[out], inputs=[inut,inet,inyt,indt,inwt,inht,gaul])
102