Spaces:
Runtime error
Runtime error
kasper-boy
commited on
Commit
•
5887921
1
Parent(s):
2af0879
Update main_app.py
Browse files- main_app.py +3 -4
main_app.py
CHANGED
@@ -284,8 +284,7 @@ with gr.Blocks(css=css, theme="default") as demo:
|
|
284 |
show_label=True,
|
285 |
max_lines=1,
|
286 |
placeholder="Enter your prompt",
|
287 |
-
container=True
|
288 |
-
css=".gradio-textbox { width: 100%; }"
|
289 |
)
|
290 |
run_button = gr.Button("Run", css=".gradio-button")
|
291 |
result = gr.Gallery(label="Result", columns=2, preview=True, css=".gradio-gallery { width: 100%; }")
|
@@ -296,8 +295,7 @@ with gr.Blocks(css=css, theme="default") as demo:
|
|
296 |
max_lines=1,
|
297 |
placeholder="Enter a negative prompt",
|
298 |
value="(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation",
|
299 |
-
visible=True
|
300 |
-
css=".gradio-textbox"
|
301 |
)
|
302 |
with gr.Row():
|
303 |
num_inference_steps = gr.Slider(
|
@@ -403,3 +401,4 @@ with gr.Blocks(css=css, theme="default") as demo:
|
|
403 |
gr.Markdown(DESCRIPTION)
|
404 |
if __name__ == "__main__":
|
405 |
demo.queue(max_size=20).launch()
|
|
|
|
284 |
show_label=True,
|
285 |
max_lines=1,
|
286 |
placeholder="Enter your prompt",
|
287 |
+
container=True
|
|
|
288 |
)
|
289 |
run_button = gr.Button("Run", css=".gradio-button")
|
290 |
result = gr.Gallery(label="Result", columns=2, preview=True, css=".gradio-gallery { width: 100%; }")
|
|
|
295 |
max_lines=1,
|
296 |
placeholder="Enter a negative prompt",
|
297 |
value="(deformed, distorted, disfigured:1.3), poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, (mutated hands and fingers:1.4), disconnected limbs, mutation, mutated, ugly, disgusting, blurry, amputation",
|
298 |
+
visible=True
|
|
|
299 |
)
|
300 |
with gr.Row():
|
301 |
num_inference_steps = gr.Slider(
|
|
|
401 |
gr.Markdown(DESCRIPTION)
|
402 |
if __name__ == "__main__":
|
403 |
demo.queue(max_size=20).launch()
|
404 |
+
|