Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,9 +67,9 @@ examples = [
|
|
| 67 |
["Astronaut riding a horse on Mars, cinematic lighting, sci-fi concept art, highly detailed"],
|
| 68 |
["Portrait of a wise old wizard with a long white beard, holding a glowing crystal staff, magical forest background"],
|
| 69 |
]
|
| 70 |
-
css = '''#col-container { max-width:
|
| 71 |
.dark .progress-text{color: white !important}
|
| 72 |
-
#examples{max-width:
|
| 73 |
# Build the Gradio interface
|
| 74 |
with gr.Blocks() as demo:
|
| 75 |
|
|
@@ -91,7 +91,7 @@ with gr.Blocks() as demo:
|
|
| 91 |
placeholder="Enter your image description...",
|
| 92 |
lines=4,
|
| 93 |
)
|
| 94 |
-
generate_btn = gr.Button("Generate", variant="primary"
|
| 95 |
output_image = gr.ImageSlider(
|
| 96 |
label="Generated Image",
|
| 97 |
type="pil",
|
|
|
|
| 67 |
["Astronaut riding a horse on Mars, cinematic lighting, sci-fi concept art, highly detailed"],
|
| 68 |
["Portrait of a wise old wizard with a long white beard, holding a glowing crystal staff, magical forest background"],
|
| 69 |
]
|
| 70 |
+
css = '''#col-container { max-width: 950px; margin: 0 auto; }
|
| 71 |
.dark .progress-text{color: white !important}
|
| 72 |
+
#examples{max-width: 950px; margin: 0 auto; }'''
|
| 73 |
# Build the Gradio interface
|
| 74 |
with gr.Blocks() as demo:
|
| 75 |
|
|
|
|
| 91 |
placeholder="Enter your image description...",
|
| 92 |
lines=4,
|
| 93 |
)
|
| 94 |
+
generate_btn = gr.Button("Generate", variant="primary")
|
| 95 |
output_image = gr.ImageSlider(
|
| 96 |
label="Generated Image",
|
| 97 |
type="pil",
|