Spaces:
Runtime error
Runtime error
Commit
·
8f3777c
1
Parent(s):
9dc4ed3
Add civitai-to-hf-uploader
Browse files
app.py
CHANGED
@@ -93,7 +93,7 @@ def process_url(url, profile, user_repo_id, oauth_token, folder):
|
|
93 |
folder_path=os.path.join(folder, os.path.dirname(dl_path)),
|
94 |
repo_id=user_repo_id,
|
95 |
repo_type="model",
|
96 |
-
path_in_repo=os.path.dirname(dl_path),
|
97 |
token=oauth_token
|
98 |
)
|
99 |
downloaded_files[dl_path] = download_url
|
|
|
93 |
folder_path=os.path.join(folder, os.path.dirname(dl_path)),
|
94 |
repo_id=user_repo_id,
|
95 |
repo_type="model",
|
96 |
+
# path_in_repo=os.path.dirname(dl_path),
|
97 |
token=oauth_token
|
98 |
)
|
99 |
downloaded_files[dl_path] = download_url
|