radames commited on
Commit
cf41b19
1 Parent(s): fe95fdf

repository back

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -36,13 +36,13 @@ s3 = boto3.client(service_name='s3',
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
 
 
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