youngtsai commited on
Commit
c0e45ae
·
1 Parent(s): 55c7f93

submissions_df_file = gr.File()

Browse files
Files changed (1) hide show
  1. assignment_ui.py +2 -2
assignment_ui.py CHANGED
@@ -549,7 +549,7 @@ def create_assignment_ui(user_data, assignment_service, submission_service, dash
549
  )
550
  with gr.Row():
551
  download_assignments_button = gr.Button("下載作業列表 CSV")
552
- assignments_df_file = gr.File(height=10)
553
 
554
  with gr.Row():
555
  submissions_df = gr.Dataframe(
@@ -559,7 +559,7 @@ def create_assignment_ui(user_data, assignment_service, submission_service, dash
559
  )
560
  with gr.Row():
561
  download_submissions_button = gr.Button("下載提交作業 CSV")
562
- submissions_df_file = gr.File(height=20)
563
 
564
  def update_dashboard(user_data):
565
  # 獲取作業列表
 
549
  )
550
  with gr.Row():
551
  download_assignments_button = gr.Button("下載作業列表 CSV")
552
+ assignments_df_file = gr.File()
553
 
554
  with gr.Row():
555
  submissions_df = gr.Dataframe(
 
559
  )
560
  with gr.Row():
561
  download_submissions_button = gr.Button("下載提交作業 CSV")
562
+ submissions_df_file = gr.File()
563
 
564
  def update_dashboard(user_data):
565
  # 獲取作業列表