Spaces:
Configuration error
Configuration error
Commit
·
751170e
1
Parent(s):
5c62a38
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,3 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
space = hf.spaces.get_current()
|
5 |
-
|
6 |
-
# Get all the files in the Space
|
7 |
-
files = space.list_files()
|
8 |
-
|
9 |
-
# Delete all the files
|
10 |
-
for file in files:
|
11 |
-
space.delete_file(file)
|
|
|
1 |
+
from huggingface_hub import duplicate_space
|
2 |
+
duplicate_space("multimodalart/dreambooth-training", private=False)
|
3 |
+
RepoUrl('https://huggingface.co/spaces/nateraw/dreambooth-training',...)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|