Spaces:
Running
Running
Commit
•
0bb9dbc
1
Parent(s):
08324cf
Update app.py
Browse files
app.py
CHANGED
@@ -337,6 +337,8 @@ def upload_civit_to_hf(profile: Optional[gr.OAuthProfile], oauth_token: gr.OAuth
|
|
337 |
folder = str(uuid.uuid4())
|
338 |
os.makedirs(folder, exist_ok=False)
|
339 |
info, downloaded_files = process_url(url, profile, folder=folder)
|
|
|
|
|
340 |
username = {profile.username}
|
341 |
slug_name = slugify(info["name"])
|
342 |
user_repo_id = f"{profile.username}/{slug_name}"
|
|
|
337 |
folder = str(uuid.uuid4())
|
338 |
os.makedirs(folder, exist_ok=False)
|
339 |
info, downloaded_files = process_url(url, profile, folder=folder)
|
340 |
+
print("Civit URL: ", url)
|
341 |
+
print("Downloaded files: ", downloaded_files)
|
342 |
username = {profile.username}
|
343 |
slug_name = slugify(info["name"])
|
344 |
user_repo_id = f"{profile.username}/{slug_name}"
|