Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
•
7486873
1
Parent(s):
2598c70
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ css = """
|
|
44 |
accent-color: #dfdfdf;
|
45 |
}
|
46 |
.gradio-container {
|
47 |
-
max-width: 730px;
|
48 |
margin: auto;
|
49 |
padding-top: 1.5rem;
|
50 |
}
|
@@ -244,16 +244,14 @@ with block:
|
|
244 |
with gr.Group():
|
245 |
with gr.Box():
|
246 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
247 |
-
|
248 |
-
text = gr.Textbox(
|
249 |
label="Enter your prompt",
|
250 |
show_label=False,
|
251 |
max_lines=1,
|
252 |
placeholder="Enter your prompt",
|
253 |
elem_id="prompt-text-input",
|
254 |
-
|
255 |
-
|
256 |
-
btn = gr.Button("Generate image")
|
257 |
|
258 |
gallery = gr.Gallery(
|
259 |
label="Generated images", show_label=False, elem_id="gallery"
|
|
|
44 |
accent-color: #dfdfdf;
|
45 |
}
|
46 |
.gradio-container {
|
47 |
+
max-width: 730px !important;
|
48 |
margin: auto;
|
49 |
padding-top: 1.5rem;
|
50 |
}
|
|
|
244 |
with gr.Group():
|
245 |
with gr.Box():
|
246 |
with gr.Row(elem_id="prompt-container").style(mobile_collapse=False, equal_height=True):
|
247 |
+
text = gr.Textbox(
|
|
|
248 |
label="Enter your prompt",
|
249 |
show_label=False,
|
250 |
max_lines=1,
|
251 |
placeholder="Enter your prompt",
|
252 |
elem_id="prompt-text-input",
|
253 |
+
)
|
254 |
+
btn = gr.Button("Generate", scale=0)
|
|
|
255 |
|
256 |
gallery = gr.Gallery(
|
257 |
label="Generated images", show_label=False, elem_id="gallery"
|