Spaces:
Runtime error
Runtime error
Commit
Β·
a2f273a
1
Parent(s):
0469aa2
wip
Browse files
app.py
CHANGED
|
@@ -170,8 +170,11 @@ with demo:
|
|
| 170 |
logger.info("Submut button")
|
| 171 |
submit_button = gr.Button("Submit")
|
| 172 |
submission_result = gr.Markdown()
|
|
|
|
|
|
|
| 173 |
submit_button.click(
|
| 174 |
-
|
|
|
|
| 175 |
[
|
| 176 |
submitter_textbox,
|
| 177 |
# submission_file,
|
|
|
|
| 170 |
logger.info("Submut button")
|
| 171 |
submit_button = gr.Button("Submit")
|
| 172 |
submission_result = gr.Markdown()
|
| 173 |
+
def add_solution_cbk(submitter):
|
| 174 |
+
return add_new_solutions(lbdb, submitter, submission_path=None)
|
| 175 |
submit_button.click(
|
| 176 |
+
add_solution_cbk,
|
| 177 |
+
# partial(add_new_solutions, lbdb=lbdb, submission_path=None),
|
| 178 |
[
|
| 179 |
submitter_textbox,
|
| 180 |
# submission_file,
|