Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ def infer(use_custom_model, model_name, weight_name, custom_lora_weight, image_i
|
|
189 |
css="""
|
190 |
#col-container{
|
191 |
margin: 0 auto;
|
192 |
-
max-width:
|
193 |
text-align: left;
|
194 |
}
|
195 |
div#warning-duplicate {
|
@@ -249,10 +249,12 @@ with gr.Blocks(css=css) as demo:
|
|
249 |
with gr.Row():
|
250 |
|
251 |
with gr.Column():
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
|
|
|
|
256 |
|
257 |
with gr.Column():
|
258 |
with gr.Group():
|
|
|
189 |
css="""
|
190 |
#col-container{
|
191 |
margin: 0 auto;
|
192 |
+
max-width: 720px;
|
193 |
text-align: left;
|
194 |
}
|
195 |
div#warning-duplicate {
|
|
|
249 |
with gr.Row():
|
250 |
|
251 |
with gr.Column():
|
252 |
+
with gr.Group():
|
253 |
+
prompt = gr.Textbox(label="Prompt")
|
254 |
+
negative_prompt = gr.Textbox(label="Negative prompt", value="extra digit, fewer digits, cropped, worst quality, low quality, glitch, deformed, mutated, ugly, disfigured")
|
255 |
+
with gr.Group():
|
256 |
+
guidance_scale = gr.Slider(label="Guidance Scale", minimum=1.0, maximum=10.0, step=0.1, value=7.5)
|
257 |
+
inf_steps = gr.Slider(label="Inference Steps", minimum="25", maximum="50", step=1, value=25)
|
258 |
|
259 |
with gr.Column():
|
260 |
with gr.Group():
|