KuuwangE commited on
Commit
10aa74f
·
unverified ·
1 Parent(s): 520ebb3
app.py CHANGED
@@ -170,13 +170,6 @@ with gr.Blocks() as demo:
170
  height="auto"
171
  )
172
 
173
- # 업로드 → 채점 실행
174
- submit_button.click(
175
- fn=grade_csv,
176
- inputs=[password, csv_input],
177
- outputs=[df_output, report_output, image_gallery], # 마지막은 리더보드 탭의 테이블에 연결
178
- queue=True
179
- )
180
 
181
  with gr.Tab("리더보드"):
182
  with gr.Row():
@@ -195,11 +188,12 @@ with gr.Blocks() as demo:
195
  outputs=leaderboard_table
196
  )
197
 
198
- # submit_button.click의 마지막 output을 리더보드 테이블에 실제 연결
199
  submit_button.click(
200
- fn=lambda: history_state,
201
- inputs=None,
202
- outputs=leaderboard_table
 
203
  )
204
 
205
  if __name__ == "__main__":
 
170
  height="auto"
171
  )
172
 
 
 
 
 
 
 
 
173
 
174
  with gr.Tab("리더보드"):
175
  with gr.Row():
 
188
  outputs=leaderboard_table
189
  )
190
 
191
+ # 업로드 채점 실행
192
  submit_button.click(
193
+ fn=grade_csv,
194
+ inputs=[password, csv_input],
195
+ outputs=[df_output, report_output, image_gallery, leaderboard_table], # 마지막은 리더보드 탭의 테이블에 연결
196
+ queue=True
197
  )
198
 
199
  if __name__ == "__main__":
output/JN_HACK15/ac_power_4135001.png ADDED
output/JN_HACK15/ac_power_4136001.png ADDED
output/JN_HACK15/ac_power_raw.png ADDED
output/JN_HACK15/ac_power_scaled.png ADDED
output/JN_HACK15/daily_yield.png ADDED
report_JN_HACK15.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:125b3724a2a78d6a41443ab7861f9d2ca30e3a8c023580dd5c61f41966f7da44
3
+ size 223248
report_UNKNOWN.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:204fe86b110076e34696b62ee7cbaecf4a712703bb4c0108eb28fcd87bdcb759
3
  size 223248
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ea9541134a1ea90397ce7e69075a47fadda8baf907ab1fe94cb6614fbbacb47
3
  size 223248