danielsapit commited on
Commit
bc5914e
1 Parent(s): 7289b18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -24,9 +24,9 @@ def inference(input_img, is_gray, input_quality, enable_zoom, zoom, x_shift, y_s
24
 
25
  input_quality = 100 - input_quality
26
 
27
- #model_pool = 'model_zoo' # fixed
28
- model_pool = '/content/FBCNN/model_zoo' # fixed
29
- model_path = os.path.join(model_pool, model_name)
30
  if os.path.exists(model_path):
31
  print(f'loading model from {model_path}')
32
  else:
 
24
 
25
  input_quality = 100 - input_quality
26
 
27
+ #model_pool = '/FBCNN/model_zoo' # fixed
28
+ #model_path = os.path.join(model_pool, model_name)
29
+ model_path = model_name
30
  if os.path.exists(model_path):
31
  print(f'loading model from {model_path}')
32
  else: