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)

Files changed (3) hide show
  1. app.py +2 -2
  2. assets/314159.jpg +2 -2
  3. install.sh +6 -0
app.py CHANGED
@@ -109,9 +109,9 @@ PRESET_TEMPLATES = [
109
  "style_code": 314159,
110
  "seed": 42,
111
  "prompts": [
112
- "A young astronaut removing her helmet on an alien meadow of luminous blue flowers, two distant moons reflected on her visor, wonder in her eyes.",
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 majestic nine-tailed fox spirit sitting gracefully atop an ancient mossy shrine gate, glowing fireflies drifting around it under a deep starry twilight sky.",
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

  • SHA256: 44c648809d9b1ce5123550f9a06e87ad09f06239eb48853250a75eb1aa8bf710
  • Pointer size: 131 Bytes
  • Size of remote file: 715 kB

Git LFS Details

  • SHA256: a571580fd250579ffaaf62fb4fffa6997d8c22d0e9ba182e6e587cf2d9794b70
  • Pointer size: 131 Bytes
  • Size of remote file: 705 kB
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