Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#6
by
kaideee
- opened
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])
|