Commit
•
b76f040
1
Parent(s):
5c2a11f
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def clone(profile: gr.OAuthProfile, oauth_token: gr.OAuthToken, repo_git, repo_h
|
|
10 |
#Upload to HF
|
11 |
api = HfApi(token=oauth_token)
|
12 |
api.upload_folder(
|
13 |
-
folder_path=
|
14 |
repo_id=f"{profile.username}/{slugify(repo_hf)}",
|
15 |
repo_type="space",
|
16 |
)
|
|
|
10 |
#Upload to HF
|
11 |
api = HfApi(token=oauth_token)
|
12 |
api.upload_folder(
|
13 |
+
folder_path=folder,
|
14 |
repo_id=f"{profile.username}/{slugify(repo_hf)}",
|
15 |
repo_type="space",
|
16 |
)
|