Maria commited on
Commit
e9d8628
·
1 Parent(s): 5c1f329
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -101,7 +101,7 @@ with gr.Blocks(css=css) as demo:
101
  minimum=256,
102
  maximum=MAX_IMAGE_SIZE,
103
  step=32,
104
- value=1024, # Replace with defaults that work for your model
105
  )
106
 
107
  height = gr.Slider(
@@ -109,7 +109,7 @@ with gr.Blocks(css=css) as demo:
109
  minimum=256,
110
  maximum=MAX_IMAGE_SIZE,
111
  step=32,
112
- value=1024, # Replace with defaults that work for your model
113
  )
114
 
115
  with gr.Row():
@@ -121,6 +121,14 @@ with gr.Blocks(css=css) as demo:
121
  value=7.0, # Replace with defaults that work for your model
122
  )
123
 
 
 
 
 
 
 
 
 
124
  num_inference_steps = gr.Slider(
125
  label="Number of inference steps",
126
  minimum=1,
 
101
  minimum=256,
102
  maximum=MAX_IMAGE_SIZE,
103
  step=32,
104
+ value=512, # Replace with defaults that work for your model
105
  )
106
 
107
  height = gr.Slider(
 
109
  minimum=256,
110
  maximum=MAX_IMAGE_SIZE,
111
  step=32,
112
+ value=512, # Replace with defaults that work for your model
113
  )
114
 
115
  with gr.Row():
 
121
  value=7.0, # Replace with defaults that work for your model
122
  )
123
 
124
+ guidance_scale = gr.Slider(
125
+ label="LoRA scale",
126
+ minimum=0.0,
127
+ maximum=1.0,
128
+ step=0.1,
129
+ value=0.8, # Replace with defaults that work for your model
130
+ )
131
+
132
  num_inference_steps = gr.Slider(
133
  label="Number of inference steps",
134
  minimum=1,