Spaces:
Runtime error
Runtime error
fix-2
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from SwinIR.infer import SwinIRDemo
|
|
6 |
from sam_diffsr.infer import sam_diffsr_demo
|
7 |
|
8 |
|
9 |
-
def image_infer(img_PIL
|
10 |
sam_diffsr_img = sam_diffsr_infer.infer(img_PIL)
|
11 |
swin_ir_img = swin_ir_infer.infer(img_PIL)
|
12 |
return sam_diffsr_img, swin_ir_img
|
|
|
6 |
from sam_diffsr.infer import sam_diffsr_demo
|
7 |
|
8 |
|
9 |
+
def image_infer(img_PIL):
|
10 |
sam_diffsr_img = sam_diffsr_infer.infer(img_PIL)
|
11 |
swin_ir_img = swin_ir_infer.infer(img_PIL)
|
12 |
return sam_diffsr_img, swin_ir_img
|