Spaces:
Running
on
Zero
Running
on
Zero
Ahsen Khaliq
commited on
Commit
·
2870617
1
Parent(s):
edd4db2
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,7 +131,7 @@ def fit(img,maxsize=512):
|
|
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
-
def process(
|
| 135 |
im = scale_by_face_size(im, target_face=300, max_res=1_500_000, max_upscale=2)
|
| 136 |
res = proc_pil_img(im, model)
|
| 137 |
return res
|
|
|
|
| 131 |
|
| 132 |
|
| 133 |
|
| 134 |
+
def process(im):
|
| 135 |
im = scale_by_face_size(im, target_face=300, max_res=1_500_000, max_upscale=2)
|
| 136 |
res = proc_pil_img(im, model)
|
| 137 |
return res
|