Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -155,20 +155,19 @@ with gr.Blocks(css=css) as demo:
|
|
155 |
interactive=True
|
156 |
)
|
157 |
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
)
|
172 |
|
173 |
with gr.Row():
|
174 |
lora_scale = gr.Slider(
|
@@ -187,6 +186,8 @@ with gr.Blocks(css=css) as demo:
|
|
187 |
step=1,
|
188 |
value=0,
|
189 |
)
|
|
|
|
|
190 |
guidance_scale = gr.Slider(
|
191 |
label="Guidance scale",
|
192 |
minimum=0.0,
|
@@ -194,6 +195,8 @@ with gr.Blocks(css=css) as demo:
|
|
194 |
step=0.1,
|
195 |
value=7.5, # Replace with defaults that work for your model
|
196 |
)
|
|
|
|
|
197 |
num_inference_steps = gr.Slider(
|
198 |
label="Number of inference steps",
|
199 |
minimum=1,
|
|
|
155 |
interactive=True
|
156 |
)
|
157 |
|
158 |
+
prompt = gr.Text(
|
159 |
+
label="Prompt",
|
160 |
+
show_label=False,
|
161 |
+
max_lines=1,
|
162 |
+
placeholder="Enter your prompt",
|
163 |
+
container=False,
|
164 |
+
)
|
165 |
+
negative_prompt = gr.Text(
|
166 |
+
label="Negative prompt",
|
167 |
+
max_lines=1,
|
168 |
+
placeholder="Enter a negative prompt",
|
169 |
+
visible=True,
|
170 |
+
)
|
|
|
171 |
|
172 |
with gr.Row():
|
173 |
lora_scale = gr.Slider(
|
|
|
186 |
step=1,
|
187 |
value=0,
|
188 |
)
|
189 |
+
|
190 |
+
with gr.Row():
|
191 |
guidance_scale = gr.Slider(
|
192 |
label="Guidance scale",
|
193 |
minimum=0.0,
|
|
|
195 |
step=0.1,
|
196 |
value=7.5, # Replace with defaults that work for your model
|
197 |
)
|
198 |
+
|
199 |
+
with gr.Row():
|
200 |
num_inference_steps = gr.Slider(
|
201 |
label="Number of inference steps",
|
202 |
minimum=1,
|