Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -210,7 +210,7 @@ with gr.Blocks() as demo:
|
|
| 210 |
["a field of flowers swaying in the wind, spring morning light", 512, 896],
|
| 211 |
]
|
| 212 |
|
| 213 |
-
if
|
| 214 |
# Limit example resolutions for limited spaces
|
| 215 |
example_configs = [
|
| 216 |
[example[0], min(example[1], LIMITED_MAX_RESOLUTION), min(example[2], LIMITED_MAX_RESOLUTION)]
|
|
|
|
| 210 |
["a field of flowers swaying in the wind, spring morning light", 512, 896],
|
| 211 |
]
|
| 212 |
|
| 213 |
+
if IS_ORIGINAL_SPACE:
|
| 214 |
# Limit example resolutions for limited spaces
|
| 215 |
example_configs = [
|
| 216 |
[example[0], min(example[1], LIMITED_MAX_RESOLUTION), min(example[2], LIMITED_MAX_RESOLUTION)]
|