Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
lojban model commit id fix
Browse files
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 |
|