SarahXia0405 commited on
Commit
9f31b21
·
verified ·
1 Parent(s): d2891a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,8 +62,8 @@ with gr.Blocks(title="Clare – Hanbridge AI Teaching Assistant") as demo:
62
  # 课程文件上传
63
  with gr.Row():
64
  syllabus_file = gr.File(
65
- label="Upload course file (.docx / .pdf)",
66
- file_types=[".docx", ".pdf"], # 支持 docx + pdf
67
  )
68
  doc_type = gr.Dropdown(
69
  choices=DOC_TYPES,
 
62
  # 课程文件上传
63
  with gr.Row():
64
  syllabus_file = gr.File(
65
+ label="Upload course file (.docx / .pdf / .pptx)",
66
+ file_types=[".docx", ".pdf", ".pptx"], # 支持 docx + pdf + pptx
67
  )
68
  doc_type = gr.Dropdown(
69
  choices=DOC_TYPES,