fffiloni commited on
Commit
d1d4c1e
1 Parent(s): a231571

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -105,8 +105,9 @@ Use StableDiffusion XL with ControlNet pretrained LoRas
105
  controlnet_conditioning_scale = gr.Slider(label="Controlnet conditioning Scale", minimum=0.1, maximum=0.9, step=0.01, value=0.5, type="float")
106
  seed = gr.Slider(label="seed", minimum=0, maximum=500000, step=1, value=42)
107
  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.")
108
- model_name = gr.Textbox(label="Custom Model to use", placeholder="username/my_custom_public_model")
109
- custom_lora_weight = gr.Slider(label="Custom weights", minimum=0.1, maximum=0.9, step=0.1, value=0.9)
 
110
  submit_btn = gr.Button("Submit")
111
  result = gr.Image(label="Result")
112
 
 
105
  controlnet_conditioning_scale = gr.Slider(label="Controlnet conditioning Scale", minimum=0.1, maximum=0.9, step=0.01, value=0.5, type="float")
106
  seed = gr.Slider(label="seed", minimum=0, maximum=500000, step=1, value=42)
107
  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.")
108
+ with gr.Row():
109
+ model_name = gr.Textbox(label="Custom Model to use", placeholder="username/my_custom_public_model")
110
+ custom_lora_weight = gr.Slider(label="Custom model weights", minimum=0.1, maximum=0.9, step=0.1, value=0.9)
111
  submit_btn = gr.Button("Submit")
112
  result = gr.Image(label="Result")
113