kaikaidai commited on
Commit
06545f5
·
verified ·
1 Parent(s): 3201182

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -443,7 +443,7 @@ def get_random_metric():
443
 
444
 
445
  with gr.Blocks(theme="default", css=CSS_STYLES) as demo:
446
- judge_id = gr.State(lambda: get_new_session_id(gr.Request()))
447
  gr.Markdown(MAIN_TITLE)
448
  gr.Markdown(HOW_IT_WORKS)
449
 
 
443
 
444
 
445
  with gr.Blocks(theme="default", css=CSS_STYLES) as demo:
446
+ judge_id = gr.State(value=lambda: get_new_session_id(gr.Request.current()))
447
  gr.Markdown(MAIN_TITLE)
448
  gr.Markdown(HOW_IT_WORKS)
449