Spaces:
Running on Zero
Running on Zero
cotyle-fix commited on
Commit ·
beaf169
1
Parent(s): d15a9fa
Redesign two prompts for 314159 example + harden install.sh
Browse files- Replace the astronaut and nine-tailed-fox prompts with new designs
(tiny dragon in a teacup, violinist under cherry blossoms) and regenerate
the matching thumbnail tiles
- install.sh: bump pip retries/timeout to survive flaky large-wheel downloads
(previous deploy hit IncompleteRead on a CUDA wheel and crashed startup)
- app.py +2 -2
- assets/314159.jpg +2 -2
- install.sh +6 -0
app.py
CHANGED
|
@@ -109,9 +109,9 @@ PRESET_TEMPLATES = [
|
|
| 109 |
"style_code": 314159,
|
| 110 |
"seed": 42,
|
| 111 |
"prompts": [
|
| 112 |
-
"A
|
| 113 |
"A lone lighthouse on a rugged cliff against a stormy sea at dusk, towering waves crashing below, dramatic dark clouds split by a single beam of golden light.",
|
| 114 |
-
"A
|
| 115 |
"A cozy little ramen shop in a rainy neon-lit Tokyo alley at night, steam rising from a bowl on the counter, warm paper lanterns reflected in the puddles."
|
| 116 |
]
|
| 117 |
},
|
|
|
|
| 109 |
"style_code": 314159,
|
| 110 |
"seed": 42,
|
| 111 |
"prompts": [
|
| 112 |
+
"A tiny dragon curled up asleep inside a glowing teacup on a wooden table, wisps of steam and soft candlelight around it, cozy and whimsical.",
|
| 113 |
"A lone lighthouse on a rugged cliff against a stormy sea at dusk, towering waves crashing below, dramatic dark clouds split by a single beam of golden light.",
|
| 114 |
+
"A street musician playing violin under a blooming cherry blossom tree at golden hour, pink petals swirling in the breeze, warm sunlight filtering through.",
|
| 115 |
"A cozy little ramen shop in a rainy neon-lit Tokyo alley at night, steam rising from a bowl on the counter, warm paper lanterns reflected in the puddles."
|
| 116 |
]
|
| 117 |
},
|
assets/314159.jpg
CHANGED
|
Git LFS Details
|
|
Git LFS Details
|
install.sh
CHANGED
|
@@ -1,6 +1,12 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
set -e
|
| 3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# --- Build prerequisites -----------------------------------------------------
|
| 5 |
# setuptools 82 (released 2026-02-08) removed the legacy `pkg_resources` module,
|
| 6 |
# which breaks the source builds of mmcv / mmgen (their setup.py still imports
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
set -e
|
| 3 |
|
| 4 |
+
# Make pip downloads more resilient: the large CUDA/torch wheels (hundreds of MB)
|
| 5 |
+
# occasionally get cut off mid-stream on the build network (IncompleteRead),
|
| 6 |
+
# which fails the whole startup. Retry harder and allow a longer read timeout.
|
| 7 |
+
export PIP_DEFAULT_TIMEOUT=120
|
| 8 |
+
export PIP_RETRIES=10
|
| 9 |
+
|
| 10 |
# --- Build prerequisites -----------------------------------------------------
|
| 11 |
# setuptools 82 (released 2026-02-08) removed the legacy `pkg_resources` module,
|
| 12 |
# which breaks the source builds of mmcv / mmgen (their setup.py still imports
|