wondervictor commited on
Commit
d8a615d
1 Parent(s): 91ff2e6

Update app_edge.py

Browse files
Files changed (1) hide show
  1. app_edge.py +2 -2
app_edge.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(
@@ -61,7 +61,7 @@ def create_demo(process):
61
  maximum=30.0,
62
  value=4,
63
  step=0.1)
64
- control_strength = gr.Slider(minimum=0., maximum=1.0, step=0.1, value=0.6, label="control_strength")
65
  # relolution = gr.Slider(label="(H, W)",
66
  # minimum=384,
67
  # maximum=768,
 
29
  with gr.Row():
30
  with gr.Column():
31
  image = gr.Image()
32
+ prompt = gr.Textbox(label="Text prompts")
33
  run_button = gr.Button("Run")
34
  with gr.Accordion("Advanced options", open=False):
35
  preprocessor_name = gr.Radio(
 
61
  maximum=30.0,
62
  value=4,
63
  step=0.1)
64
+ control_strength = gr.Slider(minimum=0., maximum=1.0, step=0.1, value=1.0, label="control_strength")
65
  # relolution = gr.Slider(label="(H, W)",
66
  # minimum=384,
67
  # maximum=768,