Spaces:
Running
Running
Commit
·
fb17b10
1
Parent(s):
ab6eb3e
Update app.py
Browse files
app.py
CHANGED
@@ -126,6 +126,9 @@ def upload_civit_to_hf(profile: Optional[gr.OAuthProfile], url, progress=gr.Prog
|
|
126 |
os.makedirs(folder, exist_ok=False)
|
127 |
info, downloaded_files = process_url(url, folder)
|
128 |
create_readme(info, downloaded_files, folder)
|
|
|
|
|
|
|
129 |
print(os.listdir(folder))
|
130 |
try:
|
131 |
api = HfApi(token=os.environ["HUGGING_FACE_HUB_TOKEN"])
|
|
|
126 |
os.makedirs(folder, exist_ok=False)
|
127 |
info, downloaded_files = process_url(url, folder)
|
128 |
create_readme(info, downloaded_files, folder)
|
129 |
+
print(os.path.abspath("."))
|
130 |
+
print(os.listdir("."))
|
131 |
+
print(os.path.abspath(folder))
|
132 |
print(os.listdir(folder))
|
133 |
try:
|
134 |
api = HfApi(token=os.environ["HUGGING_FACE_HUB_TOKEN"])
|