uruguayai commited on
Commit
ef1c1db
·
verified ·
1 Parent(s): 594ca3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ with gr.Blocks() as demo:
35
  prompt_input = gr.Textbox(label="Enter your prompt")
36
  image_input = gr.Image(label="Image (for inpainting)", type="pil") # Removed 'optional=True'
37
  style_input = gr.Dropdown(choices=["Fooocus Style", "SAI Anime"], label="Select Style")
38
- upscale_input = gr.Slider(minimum=1, maximum=4, step=1, default=2, label="Upscale Factor")
39
  inpaint_input = gr.Checkbox(label="Enable Inpainting")
40
 
41
  output = gr.Image(label="Generated Image")
 
35
  prompt_input = gr.Textbox(label="Enter your prompt")
36
  image_input = gr.Image(label="Image (for inpainting)", type="pil") # Removed 'optional=True'
37
  style_input = gr.Dropdown(choices=["Fooocus Style", "SAI Anime"], label="Select Style")
38
+ upscale_input = gr.Slider(minimum=1, maximum=4, step=1, label="Upscale Factor")
39
  inpaint_input = gr.Checkbox(label="Enable Inpainting")
40
 
41
  output = gr.Image(label="Generated Image")