Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -202,26 +202,16 @@ def toggle_custom_resize_slider(resize_option):
|
|
202 |
return gr.update(visible=(resize_option == "Custom"))
|
203 |
|
204 |
css = """
|
205 |
-
|
206 |
-
|
207 |
}
|
208 |
"""
|
209 |
|
210 |
|
211 |
-
title = """<h1 align="center">Diffusers Image Outpaint</h1>
|
212 |
-
<div align="center">Drop an image you would like to extend, pick your expected ratio and hit Generate.</div>
|
213 |
-
<div style="display: flex; justify-content: center; align-items: center; text-align: center;">
|
214 |
-
<p style="display: flex;gap: 6px;">
|
215 |
-
<a href="https://huggingface.co/spaces/fffiloni/diffusers-image-outpout?duplicate=true">
|
216 |
-
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-md.svg" alt="Duplicate this Space">
|
217 |
-
</a> to skip the queue and enjoy faster inference on the GPU of your choice
|
218 |
-
</p>
|
219 |
-
</div>
|
220 |
-
"""
|
221 |
|
222 |
-
with gr.Blocks(css=css) as demo:
|
223 |
with gr.Column():
|
224 |
-
|
225 |
|
226 |
with gr.Row():
|
227 |
with gr.Column():
|
|
|
202 |
return gr.update(visible=(resize_option == "Custom"))
|
203 |
|
204 |
css = """
|
205 |
+
footer {
|
206 |
+
visibility: hidden;
|
207 |
}
|
208 |
"""
|
209 |
|
210 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
211 |
|
212 |
+
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
|
213 |
with gr.Column():
|
214 |
+
|
215 |
|
216 |
with gr.Row():
|
217 |
with gr.Column():
|