Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -93,19 +93,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
93 |
with gr.Column(scale=4):
|
94 |
output = gr.Image(label="Your Generated Image")
|
95 |
|
96 |
-
|
97 |
-
"""
|
98 |
-
<div style="max-width: 650px; margin: 2rem auto; padding: 1rem; border-radius: 10px; background-color: #f0f0f0;">
|
99 |
-
<h2 style="font-size: 1.5rem; margin-bottom: 1rem;">How to Use</h2>
|
100 |
-
<ol style="padding-left: 1.5rem;">
|
101 |
-
<li>Enter a detailed description of the image you want to create.</li>
|
102 |
-
<li>Adjust advanced settings if desired (tap to expand).</li>
|
103 |
-
<li>Tap "Generate Image" and wait for your creation!</li>
|
104 |
-
</ol>
|
105 |
-
<p style="margin-top: 1rem; font-style: italic;">Tip: Be specific in your description for best results!</p>
|
106 |
-
</div>
|
107 |
-
"""
|
108 |
-
)
|
109 |
|
110 |
@spaces.GPU
|
111 |
def process_image(height, width, steps, scales, prompt, seed, preset_prompt):
|
|
|
93 |
with gr.Column(scale=4):
|
94 |
output = gr.Image(label="Your Generated Image")
|
95 |
|
96 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
|
98 |
@spaces.GPU
|
99 |
def process_image(height, width, steps, scales, prompt, seed, preset_prompt):
|