Spaces:
Runtime error
Runtime error
Fix repo path
Browse files
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 = [
|