CCockrum commited on
Commit
0c44a25
·
verified ·
1 Parent(s): aa12853

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +12 -1
main.py CHANGED
@@ -20,6 +20,17 @@ if os.path.exists(mdxnet_models_dir) and not os.path.isdir(mdxnet_models_dir):
20
  os.remove(mdxnet_models_dir)
21
  os.makedirs(mdxnet_models_dir, exist_ok=True)
22
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  def download_models():
25
  for model in UVR_MODELS:
@@ -38,4 +49,4 @@ if __name__ == "__main__":
38
  show_error=True,
39
  quiet=False,
40
  debug=False,
41
- )
 
20
  os.remove(mdxnet_models_dir)
21
  os.makedirs(mdxnet_models_dir, exist_ok=True)
22
 
23
+ # Debug: confirm visibility of data.json
24
+ json_path = os.path.join(mdxnet_models_dir, "data.json")
25
+ print("🔍 Checking for data.json at:", json_path)
26
+ print("📁 mdx_models contents:", os.listdir(mdxnet_models_dir))
27
+ print("📂 Current working directory:", os.getcwd())
28
+
29
+ if not os.path.exists(json_path):
30
+ print("❌ data.json NOT FOUND! Check if it's committed or misplaced.")
31
+ else:
32
+ print("✅ data.json found.")
33
+
34
 
35
  def download_models():
36
  for model in UVR_MODELS:
 
49
  show_error=True,
50
  quiet=False,
51
  debug=False,
52
+ )