Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ import torch
|
|
| 10 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 11 |
|
| 12 |
css = '''
|
| 13 |
-
.gradio-container{max-width:
|
| 14 |
h1{text-align:center}
|
| 15 |
footer {
|
| 16 |
visibility: hidden
|
|
@@ -141,7 +141,7 @@ def load_predefined_images():
|
|
| 141 |
]
|
| 142 |
return predefined_images
|
| 143 |
|
| 144 |
-
with gr.Blocks(css=css, theme="
|
| 145 |
gr.Markdown(DESCRIPTIONXX)
|
| 146 |
with gr.Row():
|
| 147 |
prompt = gr.Text(
|
|
|
|
| 10 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 11 |
|
| 12 |
css = '''
|
| 13 |
+
.gradio-container{max-width: 570px !important}
|
| 14 |
h1{text-align:center}
|
| 15 |
footer {
|
| 16 |
visibility: hidden
|
|
|
|
| 141 |
]
|
| 142 |
return predefined_images
|
| 143 |
|
| 144 |
+
with gr.Blocks(css=css, theme="allenai/gradio-theme") as demo:
|
| 145 |
gr.Markdown(DESCRIPTIONXX)
|
| 146 |
with gr.Row():
|
| 147 |
prompt = gr.Text(
|