Spaces:
Sleeping
Sleeping
Update download_repo_to_huggingface.py
Browse files
download_repo_to_huggingface.py
CHANGED
@@ -1,3 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
def download_and_upload_kadiAPY_repo_to_huggingfacespace(api_url, project_id, version):
|
2 |
try:
|
3 |
# Construct the URL for the release's zip file
|
|
|
1 |
+
import urllib.parse
|
2 |
+
import requests
|
3 |
+
import io
|
4 |
+
import json
|
5 |
+
|
6 |
+
|
7 |
def download_and_upload_kadiAPY_repo_to_huggingfacespace(api_url, project_id, version):
|
8 |
try:
|
9 |
# Construct the URL for the release's zip file
|