fffiloni commited on
Commit
bf07a86
1 Parent(s): 093e5a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -94,7 +94,7 @@ Use StableDiffusion XL with ControlNet pretrained LoRas
94
 
95
  """)
96
  use_custom_model = gr.Checkbox(label="Use a public custom model ?(optional)", value=False, info="To use a private model, you'll prefer to duplicate the space with your own access token.")
97
- model_name = gr.Textbox(label="Model to use", placeholder="username/my_model")
98
  image_in = gr.Image(source="upload", type="filepath")
99
  with gr.Row():
100
  with gr.Column():
@@ -104,8 +104,7 @@ Use StableDiffusion XL with ControlNet pretrained LoRas
104
  with gr.Column():
105
  preprocessor = gr.Dropdown(label="Preprocessor", choices=["canny"], value="canny", interactive=False, info="For the moment, only canny is available")
106
  controlnet_conditioning_scale = gr.Slider(label="Controlnet conditioning Scale", minimum=0.1, maximum=0.9, step=0.01, value=0.5, type="float")
107
-
108
- seed = gr.Slider(label="seed", minimum=0, maximum=500000, step=1, value=42)
109
 
110
  submit_btn = gr.Button("Submit")
111
  result = gr.Image(label="Result")
 
94
 
95
  """)
96
  use_custom_model = gr.Checkbox(label="Use a public custom model ?(optional)", value=False, info="To use a private model, you'll prefer to duplicate the space with your own access token.")
97
+ model_name = gr.Textbox(label="Custom Model to use", placeholder="username/my_custom_public_model")
98
  image_in = gr.Image(source="upload", type="filepath")
99
  with gr.Row():
100
  with gr.Column():
 
104
  with gr.Column():
105
  preprocessor = gr.Dropdown(label="Preprocessor", choices=["canny"], value="canny", interactive=False, info="For the moment, only canny is available")
106
  controlnet_conditioning_scale = gr.Slider(label="Controlnet conditioning Scale", minimum=0.1, maximum=0.9, step=0.01, value=0.5, type="float")
107
+ seed = gr.Slider(label="seed", minimum=0, maximum=500000, step=1, value=42)
 
108
 
109
  submit_btn = gr.Button("Submit")
110
  result = gr.Image(label="Result")