JoPmt commited on
Commit
506a200
1 Parent(s): cde9848

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -114,8 +114,8 @@ with gr.Blocks(theme=random.choice([gr.themes.Monochrome(),gr.themes.Base.from_h
114
  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")
115
  inyt=gr.Slider(label="Num inference steps",minimum=1,step=1,maximum=10,value=3)
116
  indt=gr.Slider(label="Manual seed (leave 0 for random)",minimum=0,step=32,maximum=2147483616,value=0)
117
- inwt=gr.Slider(label="Width",minimum=256,step=32,maximum=1024,value=768)
118
- inht=gr.Slider(label="Height",minimum=256,step=32,maximum=1024,value=768)
119
 
120
  btn.click(fn=plax,inputs=gaul,outputs=gaul).then(fn=plex, outputs=[out], inputs=[inut,inet,inyt,indt,inwt,inht,gaul])
121
 
 
114
  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")
115
  inyt=gr.Slider(label="Num inference steps",minimum=1,step=1,maximum=10,value=3)
116
  indt=gr.Slider(label="Manual seed (leave 0 for random)",minimum=0,step=32,maximum=2147483616,value=0)
117
+ inwt=gr.Slider(label="Width",minimum=256,step=32,maximum=1024,value=512)
118
+ inht=gr.Slider(label="Height",minimum=256,step=32,maximum=1024,value=512)
119
 
120
  btn.click(fn=plax,inputs=gaul,outputs=gaul).then(fn=plex, outputs=[out], inputs=[inut,inet,inyt,indt,inwt,inht,gaul])
121