Spaces:
Runtime error
Runtime error
Commit
·
83e4966
1
Parent(s):
e0d55fb
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ tags:
|
|
64 |
|
65 |
name = name.replace(" ", "_")
|
66 |
model_id = f"LangChainHub/{name}"
|
67 |
-
repo_url = create_repo(model_id, token=token)
|
68 |
res = api.upload_folder(
|
69 |
repo_id=model_id,
|
70 |
folder_path=tmpdir,
|
|
|
64 |
|
65 |
name = name.replace(" ", "_")
|
66 |
model_id = f"LangChainHub/{name}"
|
67 |
+
repo_url = create_repo(model_id, token=token, repo_type="dataset")
|
68 |
res = api.upload_folder(
|
69 |
repo_id=model_id,
|
70 |
folder_path=tmpdir,
|