Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -141,6 +141,8 @@ iface = gr.Interface(
|
|
| 141 |
fn=generate,
|
| 142 |
inputs=[
|
| 143 |
gr.Textbox(label="Input prompt"),
|
|
|
|
|
|
|
| 144 |
gr.Textbox(label="Negative prompt", value = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards"),
|
| 145 |
gr.Slider(label="Width", minimum=480, maximum=1280, step=16, value=1024),
|
| 146 |
gr.Slider(label="Height", minimum=480, maximum=1280, step=16, value=1024),
|
|
|
|
| 141 |
fn=generate,
|
| 142 |
inputs=[
|
| 143 |
gr.Textbox(label="Input prompt"),
|
| 144 |
+
],
|
| 145 |
+
additional_inputs = [
|
| 146 |
gr.Textbox(label="Negative prompt", value = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards"),
|
| 147 |
gr.Slider(label="Width", minimum=480, maximum=1280, step=16, value=1024),
|
| 148 |
gr.Slider(label="Height", minimum=480, maximum=1280, step=16, value=1024),
|