Ahsen Khaliq commited on
Commit
83af908
1 Parent(s): 2de33ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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='cuda' if args.use_cuda else 'cpu')
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)