Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,8 +58,7 @@ from cobra_utils.utils import *
|
|
58 |
|
59 |
from huggingface_hub import snapshot_download
|
60 |
|
61 |
-
|
62 |
-
model_global_path = './Cobra/models--JunhaoZhuang--Cobra/snapshots/e87145ca2cb71423753905ff10863ebba23ffc19'
|
63 |
print(model_global_path)
|
64 |
examples = [
|
65 |
[
|
|
|
58 |
|
59 |
from huggingface_hub import snapshot_download
|
60 |
|
61 |
+
model_global_path = snapshot_download(repo_id="JunhaoZhuang/Cobra", cache_dir='./Cobra/', repo_type="model")
|
|
|
62 |
print(model_global_path)
|
63 |
examples = [
|
64 |
[
|