Pendrokar commited on
Commit
3b01bbd
β€’
1 Parent(s): b975979

lojban model commit id fix

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -15,6 +15,9 @@ model_repo = HfApi()
15
  commits = model_repo.list_repo_commits(repo_id=hf_model_name)
16
  latest_commit_sha = commits[0].commit_id
17
  hf_cache_models_path = f'/home/user/.cache/huggingface/hub/models--Pendrokar--xvapitch_nvidia/snapshots/{latest_commit_sha}/'
 
 
 
18
  hf_cache_lojban_models_path = f'/home/user/.cache/huggingface/hub/models--Pendrokar--xvasynth_lojban/snapshots/{latest_commit_sha}/'
19
  models_path = hf_cache_models_path
20
 
 
15
  commits = model_repo.list_repo_commits(repo_id=hf_model_name)
16
  latest_commit_sha = commits[0].commit_id
17
  hf_cache_models_path = f'/home/user/.cache/huggingface/hub/models--Pendrokar--xvapitch_nvidia/snapshots/{latest_commit_sha}/'
18
+
19
+ commits = model_repo.list_repo_commits(repo_id='Pendrokar/xvasynth_lojban')
20
+ latest_commit_sha = commits[0].commit_id
21
  hf_cache_lojban_models_path = f'/home/user/.cache/huggingface/hub/models--Pendrokar--xvasynth_lojban/snapshots/{latest_commit_sha}/'
22
  models_path = hf_cache_models_path
23