Spaces:
Running
Running
yinanhe
commited on
Commit
·
0c33ecc
1
Parent(s):
1f8bb47
[update]
Browse files
app.py
CHANGED
@@ -205,7 +205,7 @@ with block:
|
|
205 |
|
206 |
with gr.Column():
|
207 |
|
208 |
-
input_file = gr.
|
209 |
submit_button = gr.Button("Submit Eval")
|
210 |
|
211 |
submission_result = gr.Markdown()
|
@@ -235,6 +235,5 @@ with block:
|
|
235 |
refresh_data, outputs=[data_component]
|
236 |
)
|
237 |
|
238 |
-
# block.load(get_baseline_df, outputs=data_title)
|
239 |
|
240 |
-
block.launch(
|
|
|
205 |
|
206 |
with gr.Column():
|
207 |
|
208 |
+
input_file = gr.components.File(label = "Click to Upload a json File", file_count="single", type='binary')
|
209 |
submit_button = gr.Button("Submit Eval")
|
210 |
|
211 |
submission_result = gr.Markdown()
|
|
|
235 |
refresh_data, outputs=[data_component]
|
236 |
)
|
237 |
|
|
|
238 |
|
239 |
+
block.launch()
|