CaxtonEmeraldS commited on
Commit
4d2375b
·
verified ·
1 Parent(s): db6921e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ repo_id = "CaxtonEmeraldS/CholesterolConcentrationPredictor" # Replace with you
13
  unzip_dir = "unzipped_models"
14
  if not os.path.exists(unzip_dir):
15
  print("Downloading and extracting model zip file...")
16
- zip_path = hf_hub_download(repo_id=repo_id, filename="Models.zip") # Replace with your actual uploaded ZIP filename
17
  with zipfile.ZipFile(zip_path, 'r') as zip_ref:
18
  zip_ref.extractall(unzip_dir)
19
  print("Extraction complete.")
 
13
  unzip_dir = "unzipped_models"
14
  if not os.path.exists(unzip_dir):
15
  print("Downloading and extracting model zip file...")
16
+ zip_path = hf_hub_download(repo_id=os.path.join('spaces', repo_id), filename="Models.zip") # Replace with your actual uploaded ZIP filename
17
  with zipfile.ZipFile(zip_path, 'r') as zip_ref:
18
  zip_ref.extractall(unzip_dir)
19
  print("Extraction complete.")