Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -57,12 +57,14 @@ def query(prompt, is_negative=False, steps=30, cfg_scale=7, sampler="DPM++ 2M Ka
|
|
57 |
return None
|
58 |
|
59 |
css = """
|
60 |
-
|
|
|
|
|
|
|
61 |
footer {visibility: hidden !important;}
|
62 |
"""
|
63 |
|
64 |
-
with gr.Blocks(theme='Nymbo/Nymbo_Theme') as
|
65 |
-
with gr.Tab("Basic Settings"):
|
66 |
with gr.Row():
|
67 |
with gr.Column(elem_id="prompt-container"):
|
68 |
with gr.Row():
|
@@ -83,4 +85,4 @@ with gr.Blocks(theme='Nymbo/Nymbo_Theme') as dalle:
|
|
83 |
|
84 |
text_button.click(query, inputs=[text_prompt, negative_prompt, steps, cfg, method, seed, strength], outputs=image_output)
|
85 |
|
86 |
-
|
|
|
57 |
return None
|
58 |
|
59 |
css = """
|
60 |
+
#col-container {
|
61 |
+
margin: 0 auto;
|
62 |
+
max-width: 520px;
|
63 |
+
}
|
64 |
footer {visibility: hidden !important;}
|
65 |
"""
|
66 |
|
67 |
+
with gr.Blocks(theme='Nymbo/Nymbo_Theme') as app:
|
|
|
68 |
with gr.Row():
|
69 |
with gr.Column(elem_id="prompt-container"):
|
70 |
with gr.Row():
|
|
|
85 |
|
86 |
text_button.click(query, inputs=[text_prompt, negative_prompt, steps, cfg, method, seed, strength], outputs=image_output)
|
87 |
|
88 |
+
app.launch(show_api=False, share=False)
|