Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
109 |
-
|
|
|
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 |
|