fffiloni commited on
Commit
2c60f43
1 Parent(s): 62b2a7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -28,7 +28,7 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
28
  )
29
  pipe.to("cuda")
30
 
31
- custom_model = "fffiloni/eugene_jour_general"
32
 
33
  # This is where you load your trained weights
34
  pipe.load_lora_weights(custom_model, weight_name="pytorch_lora_weights.safetensors", use_auth_token=True)
@@ -69,8 +69,8 @@ with gr.Blocks() as demo:
69
  with gr.Column():
70
  image_in = gr.Image(source="upload", type="filepath")
71
  prompt = gr.Textbox(label="Prompt")
72
- guidance_scale = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=5.0, type="float")
73
- controlnet_conditioning_scale = gr.Slider(label="Controlnet conditioning Scale", minimum=0.0, maximum=1.0, step=0.1, value=0.5, type="float")
74
  submit_btn = gr.Button("Submit")
75
  result = gr.Image(label="Result")
76
 
 
28
  )
29
  pipe.to("cuda")
30
 
31
+ custom_model = "fffiloni/eugene_decors_jour"
32
 
33
  # This is where you load your trained weights
34
  pipe.load_lora_weights(custom_model, weight_name="pytorch_lora_weights.safetensors", use_auth_token=True)
 
69
  with gr.Column():
70
  image_in = gr.Image(source="upload", type="filepath")
71
  prompt = gr.Textbox(label="Prompt")
72
+ guidance_scale = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=7.5, type="float")
73
+ controlnet_conditioning_scale = gr.Slider(label="Controlnet conditioning Scale", minimum=0.1, maximum=0.9, step=0.01, value=0.5, type="float")
74
  submit_btn = gr.Button("Submit")
75
  result = gr.Image(label="Result")
76