1aurent commited on
Commit
b7c8482
1 Parent(s): c266464

fix: update where models are downloaded from

Browse files
Files changed (2) hide show
  1. README.md +5 -3
  2. src/app.py +10 -10
README.md CHANGED
@@ -10,8 +10,10 @@ pinned: false
10
  short_description: Clarity AI Upscaler Reproduction
11
  license: mit
12
  models:
13
- - refiners/juggernaut.reborn
14
- - refiners/controlnet.sd15.tile
 
 
15
  - philz1337x/upscaler
16
  - philz1337x/embeddings
17
  - philz1337x/loras
@@ -22,9 +24,9 @@ tags:
22
  - refiners
23
  - image-to-image
24
  - stable-diffusion
 
25
  - sd1.5
26
  - art
27
- - juggernaut
28
  ---
29
 
30
  # Enhancer
 
10
  short_description: Clarity AI Upscaler Reproduction
11
  license: mit
12
  models:
13
+ - refiners/juggernaut.reborn.sd1_5.unet
14
+ - refiners/juggernaut.reborn.sd1_5.autoencoder
15
+ - refiners/juggernaut.reborn.sd1_5.text_encoder
16
+ - refiners/controlnet.sd1_5.tile
17
  - philz1337x/upscaler
18
  - philz1337x/embeddings
19
  - philz1337x/loras
 
24
  - refiners
25
  - image-to-image
26
  - stable-diffusion
27
+ - juggernaut
28
  - sd1.5
29
  - art
 
30
  ---
31
 
32
  # Enhancer
src/app.py CHANGED
@@ -47,28 +47,28 @@ TITLE = """
47
  CHECKPOINTS = ESRGANUpscalerCheckpoints(
48
  unet=Path(
49
  hf_hub_download(
50
- repo_id="refiners/juggernaut.reborn",
51
- filename="unet.safetensors",
52
- revision="948510aaf4c8e8e9b32b5a7c25736422253f7b93",
53
  )
54
  ),
55
  clip_text_encoder=Path(
56
  hf_hub_download(
57
- repo_id="refiners/juggernaut.reborn",
58
- filename="text_encoder.safetensors",
59
- revision="948510aaf4c8e8e9b32b5a7c25736422253f7b93",
60
  )
61
  ),
62
  lda=Path(
63
  hf_hub_download(
64
- repo_id="refiners/juggernaut.reborn",
65
- filename="autoencoder.safetensors",
66
- revision="948510aaf4c8e8e9b32b5a7c25736422253f7b93",
67
  )
68
  ),
69
  controlnet_tile=Path(
70
  hf_hub_download(
71
- repo_id="refiners/controlnet.sd15.tile",
72
  filename="model.safetensors",
73
  revision="48ced6ff8bfa873a8976fa467c3629a240643387",
74
  )
 
47
  CHECKPOINTS = ESRGANUpscalerCheckpoints(
48
  unet=Path(
49
  hf_hub_download(
50
+ repo_id="refiners/juggernaut.reborn.sd1_5.unet",
51
+ filename="model.safetensors",
52
+ revision="347d14c3c782c4959cc4d1bb1e336d19f7dda4d2",
53
  )
54
  ),
55
  clip_text_encoder=Path(
56
  hf_hub_download(
57
+ repo_id="refiners/juggernaut.reborn.sd1_5.text_encoder",
58
+ filename="model.safetensors",
59
+ revision="744ad6a5c0437ec02ad826df9f6ede102bb27481",
60
  )
61
  ),
62
  lda=Path(
63
  hf_hub_download(
64
+ repo_id="refiners/juggernaut.reborn.sd1_5.autoencoder",
65
+ filename="model.safetensors",
66
+ revision="3c1aae3fc3e03e4a2b7e0fa42b62ebb64f1a4c19",
67
  )
68
  ),
69
  controlnet_tile=Path(
70
  hf_hub_download(
71
+ repo_id="refiners/controlnet.sd1_5.tile",
72
  filename="model.safetensors",
73
  revision="48ced6ff8bfa873a8976fa467c3629a240643387",
74
  )