ameerazam08 commited on
Commit
0bf5991
·
verified ·
1 Parent(s): 3ae3194

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,9 +1,4 @@
1
- import gradio as gr
2
- from PIL import Image
3
- from main import Upscale_CaseCade
4
- import spaces
5
- import os
6
-
7
  os.chdir('./models')
8
  os.system("wget https://huggingface.co/stabilityai/StableWurst/resolve/main/effnet_encoder.safetensors -P . -q --show-progress")
9
  os.system("wget https://huggingface.co/stabilityai/stable-cascade/resolve/main/controlnet/inpainting.safetensors -P models -q --show-progress")
@@ -13,6 +8,11 @@ os.system("wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stag
13
  os.system("wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c_bf16.safetensors -P . -q --show-progress")
14
  os.system("wget https://huggingface.co/stabilityai/stable-cascade/resolve/main/controlnet/super_resolution.safetensors -P models -q --show-progress")
15
  os.chdir('..')
 
 
 
 
 
16
 
17
  upscale_class=Upscale_CaseCade()
18
  # scale_fator=7
 
1
+ import os
 
 
 
 
 
2
  os.chdir('./models')
3
  os.system("wget https://huggingface.co/stabilityai/StableWurst/resolve/main/effnet_encoder.safetensors -P . -q --show-progress")
4
  os.system("wget https://huggingface.co/stabilityai/stable-cascade/resolve/main/controlnet/inpainting.safetensors -P models -q --show-progress")
 
8
  os.system("wget https://huggingface.co/stabilityai/StableWurst/resolve/main/stage_c_bf16.safetensors -P . -q --show-progress")
9
  os.system("wget https://huggingface.co/stabilityai/stable-cascade/resolve/main/controlnet/super_resolution.safetensors -P models -q --show-progress")
10
  os.chdir('..')
11
+ import gradio as gr
12
+ from PIL import Image
13
+ from main import Upscale_CaseCade
14
+ import spaces
15
+ import os
16
 
17
  upscale_class=Upscale_CaseCade()
18
  # scale_fator=7