nijisakai commited on
Commit
bd069b2
1 Parent(s): ac8576d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ for repo_id in repo_ids:
57
  )[-1]
58
  ckpt_name = f"G_{latest_id}.pth"
59
 
60
- cluster_model_name = "kmeans.pt"
61
  if cluster_model_name in list_repo_files(repo_id):
62
  print(f"Found Cluster model - Downloading {cluster_model_name} from {repo_id}")
63
  cluster_model_path = hf_hub_download(repo_id, cluster_model_name)
 
57
  )[-1]
58
  ckpt_name = f"G_{latest_id}.pth"
59
 
60
+ cluster_model_name = cluster_model_name or "kmeans.pt"
61
  if cluster_model_name in list_repo_files(repo_id):
62
  print(f"Found Cluster model - Downloading {cluster_model_name} from {repo_id}")
63
  cluster_model_path = hf_hub_download(repo_id, cluster_model_name)