Spaces:
Runtime error
Runtime error
Fix repo path (#4)
Browse files- Fix repo path (b5d85a61ea35d6e227275343df6606cbc85c23f3)
Co-authored-by: hysts <hysts@users.noreply.huggingface.co>
app.py
CHANGED
@@ -23,7 +23,7 @@ from lang_list import (
|
|
23 |
|
24 |
CHECKPOINTS_PATH = pathlib.Path(os.getenv("CHECKPOINTS_PATH", "/home/user/app/models"))
|
25 |
if not CHECKPOINTS_PATH.exists():
|
26 |
-
snapshot_download(repo_id="
|
27 |
asset_store.env_resolvers.clear()
|
28 |
asset_store.env_resolvers.append(lambda: "demo")
|
29 |
demo_metadata = [
|
|
|
23 |
|
24 |
CHECKPOINTS_PATH = pathlib.Path(os.getenv("CHECKPOINTS_PATH", "/home/user/app/models"))
|
25 |
if not CHECKPOINTS_PATH.exists():
|
26 |
+
snapshot_download(repo_id="facebook/seamless-m4t-v2-large", repo_type="model", local_dir=CHECKPOINTS_PATH)
|
27 |
asset_store.env_resolvers.clear()
|
28 |
asset_store.env_resolvers.append(lambda: "demo")
|
29 |
demo_metadata = [
|