cbensimon HF staff commited on
Commit
a7bf753
1 Parent(s): b158eda
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def webhook(payload: dict = Body(...)):
36
 
37
  data_dict = {"data": {"images": image_urls, "prompt": title}, "discussion_num": 1000}
38
 
39
- path = hf_hub_download(repo_id=dataset_repo_id, filename=file_name, cache_dir=path, repo_type="dataset")
40
 
41
  with open(path, "r") as f:
42
  data = json.load(f)
 
36
 
37
  data_dict = {"data": {"images": image_urls, "prompt": title}, "discussion_num": 1000}
38
 
39
+ path = hf_hub_download(repo_id=dataset_repo_id, filename=file_name, cache_dir="image_cache", repo_type="dataset")
40
 
41
  with open(path, "r") as f:
42
  data = json.load(f)