soiz1 commited on
Commit
873a2ea
·
verified ·
1 Parent(s): b769091

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ def process_and_zip_folders(huggingface_dataset_url, output_dir):
11
  else:
12
  repo_id = huggingface_dataset_url
13
 
14
- # データセットをダウンロード
15
- dataset_path = snapshot_download(repo_id)
16
 
17
  # 処理対象のフォルダ
18
  folders = [
 
11
  else:
12
  repo_id = huggingface_dataset_url
13
 
14
+ # データセットをダウンロード (repo_type='dataset' を指定)
15
+ dataset_path = snapshot_download(repo_id, repo_type="dataset")
16
 
17
  # 処理対象のフォルダ
18
  folders = [