Spaces:
Running
Running
tomas-gajarsky
commited on
Commit
•
caa7434
1
Parent(s):
94e7509
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def inference(path_image):
|
|
15 |
fix_img_size=cfg.fix_img_size,
|
16 |
return_img_data=cfg.return_img_data,
|
17 |
include_tensors=cfg.include_tensors,
|
18 |
-
path_output=
|
19 |
)
|
20 |
pil_image = torchvision.transforms.functional.to_pil_image(response.img)
|
21 |
return pil_image
|
|
|
15 |
fix_img_size=cfg.fix_img_size,
|
16 |
return_img_data=cfg.return_img_data,
|
17 |
include_tensors=cfg.include_tensors,
|
18 |
+
path_output=None,
|
19 |
)
|
20 |
pil_image = torchvision.transforms.functional.to_pil_image(response.img)
|
21 |
return pil_image
|