Tonic commited on
Commit
dcec7a4
β€’
1 Parent(s): 53ad954

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -62,12 +62,12 @@ iface = gr.Interface(
62
  inputs=[
63
  gr.Image(type="numpy"),
64
  gr.Textbox(label="Enter your prompt"),
65
- gr.Textbox(label="Enter your style", default="medieval painting"),
66
- gr.Textbox(label="Enter source description", default="Man laying in a bed"),
67
- gr.Slider(minimum=5, maximum=50, step=1, default=50, label="Number of Inference Steps"),
68
- gr.Slider(minimum=1, maximum=2, step=0.01, default=1.5, label="Shared Score Shift"),
69
- gr.Slider(minimum=0, maximum=1, step=0.01, default=0.5, label="Shared Score Scale"),
70
- gr.Slider(minimum=5, maximum=120, step=1, default=10, label="Guidance Scale")
71
  ],
72
  outputs="image",
73
  title="Stable Diffusion XL with Style Alignment",
 
62
  inputs=[
63
  gr.Image(type="numpy"),
64
  gr.Textbox(label="Enter your prompt"),
65
+ gr.Textbox(label="Enter your style", value="medieval painting"),
66
+ gr.Textbox(label="Enter source description", value="Man laying in a bed"),
67
+ gr.Slider(minimum=5, maximum=50, step=1, value=50, label="Number of Inference Steps"),
68
+ gr.Slider(minimum=1, maximum=2, step=0.01, value=1.5, label="Shared Score Shift"),
69
+ gr.Slider(minimum=0, maximum=1, step=0.01, value=0.5, label="Shared Score Scale"),
70
+ gr.Slider(minimum=5, maximum=120, step=1, value=10, label="Guidance Scale")
71
  ],
72
  outputs="image",
73
  title="Stable Diffusion XL with Style Alignment",