Corin1998 commited on
Commit
6104937
·
verified ·
1 Parent(s): 96362a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ with gr.Blocks(title=APP_TITLE) as demo:
159
  label="レジュメ類 (PDF/画像/Word/テキスト) 複数可",
160
  file_count="multiple",
161
  file_types=[".pdf", ".png", ".jpg", ".jpeg", ".tiff", ".bmp", ".docx", ".txt"],
162
- type="filepath" # ← v4では 'filepath' or 'binary'
163
  )
164
  candidate_id = gr.Textbox(label="候補者ID(任意。未入力なら自動生成)")
165
  notes = gr.Textbox(label="補足メモ(任意)", lines=3)
 
159
  label="レジュメ類 (PDF/画像/Word/テキスト) 複数可",
160
  file_count="multiple",
161
  file_types=[".pdf", ".png", ".jpg", ".jpeg", ".tiff", ".bmp", ".docx", ".txt"],
162
+ type="filepath" # ← ここを修正
163
  )
164
  candidate_id = gr.Textbox(label="候補者ID(任意。未入力なら自動生成)")
165
  notes = gr.Textbox(label="補足メモ(任意)", lines=3)