Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -71,27 +71,10 @@ examples = [
|
|
71 |
"a man walking in the forest",
|
72 |
"a viking ship sailing down a river",
|
73 |
"a woman resting by an open fire",
|
|
|
74 |
]
|
75 |
|
76 |
-
|
77 |
-
#left-column {
|
78 |
-
padding: 1rem;
|
79 |
-
}
|
80 |
-
#right-column {
|
81 |
-
display: flex;
|
82 |
-
align-items: center;
|
83 |
-
justify-content: center;
|
84 |
-
padding: 1rem;
|
85 |
-
}
|
86 |
-
#generated-image > img {
|
87 |
-
border-radius: 12px;
|
88 |
-
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
|
89 |
-
max-width: 100%;
|
90 |
-
height: auto;
|
91 |
-
}
|
92 |
-
"""
|
93 |
-
|
94 |
-
with gr.Blocks(css=css) as natalie_diffusion:
|
95 |
with gr.Row():
|
96 |
with gr.Column(scale=1, elem_id="left-column"):
|
97 |
gr.Markdown("""
|
@@ -151,4 +134,4 @@ Generate images in the surreal style of artist [Natalie Kav](https://www.behance
|
|
151 |
)
|
152 |
|
153 |
if __name__ == "__main__":
|
154 |
-
natalie_diffusion.launch()
|
|
|
71 |
"a man walking in the forest",
|
72 |
"a viking ship sailing down a river",
|
73 |
"a woman resting by an open fire",
|
74 |
+
"a sword fight in a medieval village"
|
75 |
]
|
76 |
|
77 |
+
with gr.Blocks() as natalie_diffusion:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
with gr.Row():
|
79 |
with gr.Column(scale=1, elem_id="left-column"):
|
80 |
gr.Markdown("""
|
|
|
134 |
)
|
135 |
|
136 |
if __name__ == "__main__":
|
137 |
+
natalie_diffusion.launch(css="style.css")
|