Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -188,20 +188,12 @@ def update_history(new_image, history):
|
|
| 188 |
history.insert(0, new_image)
|
| 189 |
return history
|
| 190 |
|
| 191 |
-
|
| 192 |
-
.gradio-container {
|
| 193 |
-
max-width: 1250px !important;
|
| 194 |
-
width: 100%;
|
| 195 |
-
margin: 0 auto !important;
|
| 196 |
-
}
|
| 197 |
-
"""
|
| 198 |
-
|
| 199 |
-
title = """<h1 align="center">FLUX Fill Outpaint</h1>
|
| 200 |
<div align="center">Drop an image you would like to extend, pick your expected ratio and hit Generate.</div>
|
| 201 |
-
<div align="center"
|
| 202 |
"""
|
| 203 |
|
| 204 |
-
with gr.Blocks(
|
| 205 |
with gr.Column():
|
| 206 |
gr.HTML(title)
|
| 207 |
|
|
|
|
| 188 |
history.insert(0, new_image)
|
| 189 |
return history
|
| 190 |
|
| 191 |
+
title = """<h1 align="center">Images Expander</h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192 |
<div align="center">Drop an image you would like to extend, pick your expected ratio and hit Generate.</div>
|
| 193 |
+
<div align="center">⚠ Sorry for the inconvenience. The Space is currently running on the CPU, which might affect performance. We appreciate your understanding.</div>
|
| 194 |
"""
|
| 195 |
|
| 196 |
+
with gr.Blocks(theme="Yntec/HaleyCH_Theme_Orange") as demo:
|
| 197 |
with gr.Column():
|
| 198 |
gr.HTML(title)
|
| 199 |
|