r3gm commited on
Commit
5151d04
·
verified ·
1 Parent(s): 680534c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -224,11 +224,6 @@ class UpscalerApp:
224
  return None
225
  model_path = local_model_path
226
 
227
- elif not os.path.exists(model_path):
228
- gr.Warning(f"Local model file not found at: {model_path}")
229
- return None
230
-
231
-
232
  # Load the upscaler model with specified tile and precision settings
233
  scaler_beta = load_upscaler_model(model=model_path, tile=tile, tile_overlap=tile_overlap, device=DEVICE, half=half)
234
 
 
224
  return None
225
  model_path = local_model_path
226
 
 
 
 
 
 
227
  # Load the upscaler model with specified tile and precision settings
228
  scaler_beta = load_upscaler_model(model=model_path, tile=tile, tile_overlap=tile_overlap, device=DEVICE, half=half)
229