Spaces:
Running
Running
Ahsen Khaliq
commited on
Commit
•
83af908
1
Parent(s):
2de33ab
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ sr_model = 'rrdb_realesrnet_psnr'
|
|
112 |
|
113 |
|
114 |
|
115 |
-
faceenhancer = FaceEnhancement(size=size, model=model, use_sr=use_sr, sr_model=sr_model, channel_multiplier=channel_multiplier, narrow=narrow, key=key, device='
|
116 |
|
117 |
def inference(file):
|
118 |
im = cv2.imread(file, cv2.IMREAD_COLOR)
|
|
|
112 |
|
113 |
|
114 |
|
115 |
+
faceenhancer = FaceEnhancement(size=size, model=model, use_sr=use_sr, sr_model=sr_model, channel_multiplier=channel_multiplier, narrow=narrow, key=key, device='cpu')
|
116 |
|
117 |
def inference(file):
|
118 |
im = cv2.imread(file, cv2.IMREAD_COLOR)
|