Spaces:
Sleeping
Sleeping
elibrowne
commited on
Commit
·
7090aab
1
Parent(s):
16cedf8
State?
Browse files
app.py
CHANGED
@@ -373,7 +373,7 @@ with gr.Blocks(theme = theme) as user_eval:
|
|
373 |
cr["gold_generation"] = [e_h, e_s]
|
374 |
ud["current"] += 1
|
375 |
ud["responses"].append(cr) # adds new answers to current list of responses
|
376 |
-
update_huggingface(user_id) # persistence — update progress online, save answers
|
377 |
cq, cr = load_current_question(ud, user_id)
|
378 |
return {
|
379 |
selection: gr.Markdown("Advancing to the next question..."),
|
|
|
373 |
cr["gold_generation"] = [e_h, e_s]
|
374 |
ud["current"] += 1
|
375 |
ud["responses"].append(cr) # adds new answers to current list of responses
|
376 |
+
update_huggingface(user_id, ud) # persistence — update progress online, save answers
|
377 |
cq, cr = load_current_question(ud, user_id)
|
378 |
return {
|
379 |
selection: gr.Markdown("Advancing to the next question..."),
|