Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,17 @@ with gr.Blocks(css=css) as app:
|
|
119 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, value=1024)
|
120 |
height = gr.Slider(label="Height", minimum=256, maximum=1536, value=1024)
|
121 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=20, value=3)
|
122 |
-
examples = gr.Examples(examples=["coffeeshop website logo", "bio food website logo", "car
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
with gr.Column(scale=3):
|
124 |
gr.HTML("<h1><center>Magical AI Logo Generator</h1><center>")
|
125 |
generate_button = gr.Button("Generate")
|
@@ -130,15 +140,8 @@ with gr.Blocks(css=css) as app:
|
|
130 |
outputs=[image_output]
|
131 |
)
|
132 |
|
133 |
-
|
134 |
-
|
135 |
-
gr.Markdown("""
|
136 |
-
| **Preview Image** | **Used Prompt** | **Size** | **Guidance Scale** |
|
137 |
-
|-------------------|--------------------------------|-----------|--------------------|
|
138 |
-
|  | Coffeeshop website logo | 1024x1024 | 3 |
|
139 |
-
|  | Bio food website logo | 1024x1024 | 3 |
|
140 |
-
|  | Car seller website logo | 1024x1024 | 3 |
|
141 |
-
""")
|
142 |
|
143 |
gr.Markdown("""
|
144 |
---
|
|
|
119 |
width = gr.Slider(label="Width", minimum=256, maximum=1536, value=1024)
|
120 |
height = gr.Slider(label="Height", minimum=256, maximum=1536, value=1024)
|
121 |
guidance_scale = gr.Slider(label="Guidance Scale", minimum=0.1, maximum=20, value=3)
|
122 |
+
examples = gr.Examples(examples=["coffeeshop website logo", "bio food website logo", "car Selling website logo"], inputs=logo_input)
|
123 |
+
|
124 |
+
gr.HTML("<h2>Generated Examples</h2>")
|
125 |
+
gr.Markdown("""
|
126 |
+
| **Preview Image** | **Used Prompt** | **Size** | **Guidance Scale** |
|
127 |
+
|-------------------|--------------------------------|-----------|--------------------|
|
128 |
+
|  | Coffeeshop website logo | 1024x1024 | 3 |
|
129 |
+
|  | Bio food website logo | 1024x1024 | 3 |
|
130 |
+
|  | Car Selling website logo | 1024x1024 | 3 |
|
131 |
+
""")
|
132 |
+
|
133 |
with gr.Column(scale=3):
|
134 |
gr.HTML("<h1><center>Magical AI Logo Generator</h1><center>")
|
135 |
generate_button = gr.Button("Generate")
|
|
|
140 |
outputs=[image_output]
|
141 |
)
|
142 |
|
143 |
+
|
144 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
|
146 |
gr.Markdown("""
|
147 |
---
|