Commit
·
34f59c0
1
Parent(s):
6c94821
Fixed state error
Browse files
app.py
CHANGED
|
@@ -124,9 +124,6 @@ with gr.Blocks() as demo:
|
|
| 124 |
Your submission will be evaluated and added to the leaderboard.
|
| 125 |
"""
|
| 126 |
)
|
| 127 |
-
filename = gr.State(value=None)
|
| 128 |
-
eval_state = gr.State(value=None)
|
| 129 |
-
user_state = gr.State(value=None)
|
| 130 |
submission_type_state = gr.State(value="GDPa1")
|
| 131 |
download_file_state = gr.State(value=EXAMPLE_FILE_DICT["GDPa1"])
|
| 132 |
|
|
@@ -201,7 +198,7 @@ with gr.Blocks() as demo:
|
|
| 201 |
make_submission,
|
| 202 |
inputs=[
|
| 203 |
submission_file,
|
| 204 |
-
|
| 205 |
submission_type_state,
|
| 206 |
model_name_input,
|
| 207 |
model_description_input,
|
|
|
|
| 124 |
Your submission will be evaluated and added to the leaderboard.
|
| 125 |
"""
|
| 126 |
)
|
|
|
|
|
|
|
|
|
|
| 127 |
submission_type_state = gr.State(value="GDPa1")
|
| 128 |
download_file_state = gr.State(value=EXAMPLE_FILE_DICT["GDPa1"])
|
| 129 |
|
|
|
|
| 198 |
make_submission,
|
| 199 |
inputs=[
|
| 200 |
submission_file,
|
| 201 |
+
username_input,
|
| 202 |
submission_type_state,
|
| 203 |
model_name_input,
|
| 204 |
model_description_input,
|