yingzhac commited on
Commit
e7cea37
·
1 Parent(s): 5c068df

Fix: Replace external URLs with local example images to avoid 429 errors

Browse files
Files changed (4) hide show
  1. app.py +3 -3
  2. examples/character.jpg +260 -0
  3. examples/city.jpg +260 -0
  4. examples/landscape.jpg +260 -0
app.py CHANGED
@@ -104,9 +104,9 @@ def infer(
104
 
105
 
106
  examples = [
107
- ["A fantasy landscape with mountains and a lake", "https://huggingface.co/datasets/patrickvonplaten/images/resolve/main/aa_xl/000000009.png"],
108
- ["A cyberpunk city street scene", "https://raw.githubusercontent.com/timothybrooks/instruct-pix2pix/main/imgs/example.jpg"],
109
- ["A cartoon character in winter clothing", "https://huggingface.co/datasets/diffusers/diffusers-images-docs/resolve/main/controlnet/person_image.png"],
110
  ]
111
 
112
  css = """
 
104
 
105
 
106
  examples = [
107
+ ["A fantasy landscape with mountains and a lake", "examples/landscape.jpg"],
108
+ ["A cyberpunk city street scene", "examples/city.jpg"],
109
+ ["A cartoon character in winter clothing", "examples/character.jpg"],
110
  ]
111
 
112
  css = """
examples/character.jpg ADDED
examples/city.jpg ADDED
examples/landscape.jpg ADDED