aexyb commited on
Commit
3386a0c
·
verified ·
1 Parent(s): c2cc8d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -718,7 +718,7 @@ Solution: Restart the Space to trigger rebuild."""
718
  for config in Config.MODELS.values():
719
  for source in config.get('sources', []):
720
  alt = source.get('rename_to', '')
721
- if alt and (Config.MODELS_DIR / alt).exists()):
722
  return str(Config.MODELS_DIR / alt)
723
 
724
  return str(path) # Return original even if missing (for better error msg)
 
718
  for config in Config.MODELS.values():
719
  for source in config.get('sources', []):
720
  alt = source.get('rename_to', '')
721
+ if alt and (Config.MODELS_DIR / alt).exists(): # ← Remove one )
722
  return str(Config.MODELS_DIR / alt)
723
 
724
  return str(path) # Return original even if missing (for better error msg)