Spaces:
Running
on
T4
Running
on
T4
Ahsen Khaliq
commited on
Commit
·
60bb1e3
1
Parent(s):
57e5af9
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ face2paint = torch.hub.load(
|
|
18 |
)
|
19 |
|
20 |
def inference(img, ver,option,imgweb):
|
21 |
-
if option == 'webcam'
|
22 |
if ver == 'version 2 (🔺 robustness,🔻 stylization)':
|
23 |
out = face2paint(model2, imgweb)
|
24 |
else:
|
|
|
18 |
)
|
19 |
|
20 |
def inference(img, ver,option,imgweb):
|
21 |
+
if option == 'webcam':
|
22 |
if ver == 'version 2 (🔺 robustness,🔻 stylization)':
|
23 |
out = face2paint(model2, imgweb)
|
24 |
else:
|