wondervictor commited on
Commit
8a79548
1 Parent(s): d8a615d

Update app_depth.py

Browse files
Files changed (1) hide show
  1. app_depth.py +2 -2
app_depth.py CHANGED
@@ -29,7 +29,7 @@ def create_demo(process):
29
  with gr.Row():
30
  with gr.Column():
31
  image = gr.Image()
32
- prompt = gr.Textbox(label="Prompt")
33
  run_button = gr.Button("Run")
34
  with gr.Accordion("Advanced options", open=False):
35
  preprocessor_name = gr.Radio(
@@ -47,7 +47,7 @@ def create_demo(process):
47
  maximum=30.0,
48
  value=4,
49
  step=0.1)
50
- control_strength = gr.Slider(minimum=0., maximum=1.0, step=0.1, value=0.6, label="control_strength")
51
  # resolution = gr.Slider(label="(H, W)",
52
  # minimum=384,
53
  # maximum=768,
 
29
  with gr.Row():
30
  with gr.Column():
31
  image = gr.Image()
32
+ prompt = gr.Textbox(label="Text prompt")
33
  run_button = gr.Button("Run")
34
  with gr.Accordion("Advanced options", open=False):
35
  preprocessor_name = gr.Radio(
 
47
  maximum=30.0,
48
  value=4,
49
  step=0.1)
50
+ control_strength = gr.Slider(minimum=0., maximum=1.0, step=0.1, value=1.0, label="control_strength")
51
  # resolution = gr.Slider(label="(H, W)",
52
  # minimum=384,
53
  # maximum=768,