Spaces:
Running
Running
harlanhong
commited on
Commit
•
8747375
1
Parent(s):
bc7b083
first
Browse files
app.py
CHANGED
@@ -6,15 +6,14 @@ from PIL import Image
|
|
6 |
#os.chdir('Restormer')
|
7 |
|
8 |
# Download sample images
|
9 |
-
os.system("wget https://github.com/swz30/Restormer/releases/download/v1.0/sample_images.zip")
|
10 |
-
shutil.unpack_archive('sample_images.zip')
|
11 |
-
os.remove('sample_images.zip')
|
12 |
|
13 |
|
14 |
examples = [['project/cartoon2.jpg'],
|
15 |
['project/cartoon3.jpg'],
|
16 |
['project/celeb1.jpg'],
|
17 |
-
['project/celeb2.jpg']
|
|
|
|
|
18 |
]
|
19 |
|
20 |
|
|
|
6 |
#os.chdir('Restormer')
|
7 |
|
8 |
# Download sample images
|
|
|
|
|
|
|
9 |
|
10 |
|
11 |
examples = [['project/cartoon2.jpg'],
|
12 |
['project/cartoon3.jpg'],
|
13 |
['project/celeb1.jpg'],
|
14 |
+
['project/celeb2.jpg'],
|
15 |
+
['project/video1.jpg'],
|
16 |
+
['project/video2.jpg'],
|
17 |
]
|
18 |
|
19 |
|