Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|