Boboiazumi commited on
Commit
0537034
1 Parent(s): 29e8f16

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -327,10 +327,11 @@ with gr.Blocks(css="style.css", theme="NoCrypt/miku@1.2.1") as demo:
327
  label="Enable Img2Img", value=False
328
  )
329
  image = gr.Image(
330
- #sources=["upload", "webcam", "clipboard"],
331
- #type="filepath",
332
  #visible=False,
333
- #label="Choose Image",
 
334
  )
335
  img2img_strength = gr.Slider(
336
  minimum=0.05,
 
327
  label="Enable Img2Img", value=False
328
  )
329
  image = gr.Image(
330
+ sources=["upload", "webcam", "clipboard"],
331
+ type="filepath",
332
  #visible=False,
333
+ label="Choose Image",
334
+ format=["png", "jpg"]
335
  )
336
  img2img_strength = gr.Slider(
337
  minimum=0.05,