Spaces:
Running
Running
Use unicode dots
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ SUBMISSION_INPUTS = dict.fromkeys((
|
|
33 |
)).keys()
|
34 |
|
35 |
def on_submit_pressed():
|
36 |
-
return gr.update(value='Processing submission
|
37 |
|
38 |
def validate_submission_inputs(**inputs):
|
39 |
if any(key for key, value in inputs.items() if key != "description" and value in (None, "")):
|
@@ -59,7 +59,7 @@ def process_submission(*inputs):
|
|
59 |
metadata = SUBMISSION_INPUTS - {"submission_file"}
|
60 |
metadata = {key: inputs[key] for key in metadata}
|
61 |
|
62 |
-
gr.Info('Submission valid, going to queue for the tournament
|
63 |
|
64 |
pre_submit = leaderboard_server.prepare_model_for_submission(inputs["submission_file"], metadata)
|
65 |
except ValueError as err:
|
|
|
33 |
)).keys()
|
34 |
|
35 |
def on_submit_pressed():
|
36 |
+
return gr.update(value='Processing submissionβ¦', interactive=False)
|
37 |
|
38 |
def validate_submission_inputs(**inputs):
|
39 |
if any(key for key, value in inputs.items() if key != "description" and value in (None, "")):
|
|
|
59 |
metadata = SUBMISSION_INPUTS - {"submission_file"}
|
60 |
metadata = {key: inputs[key] for key in metadata}
|
61 |
|
62 |
+
gr.Info('Submission valid, going to queue for the tournamentβ¦')
|
63 |
|
64 |
pre_submit = leaderboard_server.prepare_model_for_submission(inputs["submission_file"], metadata)
|
65 |
except ValueError as err:
|