JackAILab kaideee commited on
Commit
dab419f
1 Parent(s): f58447d

Update app.py (#6)

Browse files

- Update app.py (1d8de6ff1c573210886099bb07deee8eba624749)


Co-authored-by: Liao Shutao <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -208,7 +208,7 @@ with gr.Blocks(title="ConsistentID Demo") as demo:
208
  for i, tab in enumerate(prompt_selected_tabs):
209
  tab.select(fn=lambda tabnum=i: tabnum, inputs=[], outputs=[prompt_selected_tab])
210
 
211
- retouching = gr.Checkbox(label="face retouching",value=False)
212
  width = gr.Slider(label="image width",minimum=256,maximum=768,value=512,step=8)
213
  height = gr.Slider(label="image height",minimum=256,maximum=768,value=768,step=8)
214
  width.release(lambda x,y: min(1280-x,y), inputs=[width,height], outputs=[height])
 
208
  for i, tab in enumerate(prompt_selected_tabs):
209
  tab.select(fn=lambda tabnum=i: tabnum, inputs=[], outputs=[prompt_selected_tab])
210
 
211
+ retouching = gr.Checkbox(label="face retouching",value=False,visible=False)
212
  width = gr.Slider(label="image width",minimum=256,maximum=768,value=512,step=8)
213
  height = gr.Slider(label="image height",minimum=256,maximum=768,value=768,step=8)
214
  width.release(lambda x,y: min(1280-x,y), inputs=[width,height], outputs=[height])