randeom commited on
Commit
f655b8c
·
verified ·
1 Parent(s): f869178

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -10
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 seller website logo"], inputs=logo_input)
 
 
 
 
 
 
 
 
 
 
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
- with gr.Row():
134
- gr.HTML("<h2>Generated Examples</h2>")
135
- gr.Markdown("""
136
- | **Preview Image** | **Used Prompt** | **Size** | **Guidance Scale** |
137
- |-------------------|--------------------------------|-----------|--------------------|
138
- | ![Preview](https://i.imgur.com/CBvJ3sy.png) | Coffeeshop website logo | 1024x1024 | 3 |
139
- | ![Preview](https://i.imgur.com/i2XpinX.png) | Bio food website logo | 1024x1024 | 3 |
140
- | ![Preview](https://i.imgur.com/HeEjh4T.png) | 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
+ | ![Preview](https://i.imgur.com/CBvJ3sy.png) | Coffeeshop website logo | 1024x1024 | 3 |
129
+ | ![Preview](https://i.imgur.com/i2XpinX.png) | Bio food website logo | 1024x1024 | 3 |
130
+ | ![Preview](https://i.imgur.com/HeEjh4T.png) | 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
  ---