Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
repository back
Browse files
app.py
CHANGED
@@ -36,13 +36,13 @@ s3 = boto3.client(service_name='s3',
|
|
36 |
aws_secret_access_key=AWS_SECRET_KEY)
|
37 |
|
38 |
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
|
47 |
database = Database(DB_FOLDER)
|
48 |
|
|
|
36 |
aws_secret_access_key=AWS_SECRET_KEY)
|
37 |
|
38 |
|
39 |
+
repo = Repository(
|
40 |
+
local_dir=DB_FOLDER,
|
41 |
+
repo_type="dataset",
|
42 |
+
clone_from="huggingface-projects/diffusers-gallery-data",
|
43 |
+
use_auth_token=True,
|
44 |
+
)
|
45 |
+
repo.git_pull()
|
46 |
|
47 |
database = Database(DB_FOLDER)
|
48 |
|