wintergw commited on
Commit
99f644d
·
verified ·
1 Parent(s): 1af6374

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ app_path = hf_hub_download(
53
  )
54
 
55
  # Load and execute `app.py`
56
- spec_app = importlib.util.spec_from_file_location("*", repo_dir)
57
  app_module = importlib.util.module_from_spec(spec_app)
58
  spec_app.loader.exec_module(app_module)
59
  # Now you can use functions from utils_module
 
53
  )
54
 
55
  # Load and execute `app.py`
56
+ spec_app = importlib.util.spec_from_file_location("*", app_path)
57
  app_module = importlib.util.module_from_spec(spec_app)
58
  spec_app.loader.exec_module(app_module)
59
  # Now you can use functions from utils_module