fffiloni commited on
Commit
64a30c9
1 Parent(s): a05d9c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,8 +65,8 @@ with gr.Blocks() as demo:
65
  with gr.Column():
66
  image_in = gr.Image(source="upload", type="filepath")
67
  prompt = gr.Textbox(label="Prompt")
68
- guidance_scale = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=5.0)
69
- controlnet_conditioning_scale = gr.Slider(label="Controlnet conditioning Scale", minimum=0.0, maximum=1.0, step=0.01, value=0.5)
70
  submit_btn = gr.Button("Submit")
71
  result = gr.Image(label="Result")
72
 
 
65
  with gr.Column():
66
  image_in = gr.Image(source="upload", type="filepath")
67
  prompt = gr.Textbox(label="Prompt")
68
+ guidance_scale = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=5.0, type="float")
69
+ controlnet_conditioning_scale = gr.Slider(label="Controlnet conditioning Scale", minimum=0.0, maximum=1.0, step=0.1, value=0.5, type="float")
70
  submit_btn = gr.Button("Submit")
71
  result = gr.Image(label="Result")
72