arthrod commited on
Commit
986af55
·
verified ·
1 Parent(s): 8b4fb42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -739,7 +739,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Base()) as demo:
739
 
740
  # Event handlers
741
  start_btn.click(
742
- fn=lambda: start_session(demo.name_input.value),
743
  inputs=[name_input],
744
  outputs=[current_state]
745
  )
@@ -805,4 +805,4 @@ if not os.path.exists("test_legal_tech.jsonl"):
805
  f.write(json.dumps(item) + "\n")
806
 
807
  if __name__ == "__main__":
808
- demo.launch(share=False)
 
739
 
740
  # Event handlers
741
  start_btn.click(
742
+ fn=lambda name: start_session(name),
743
  inputs=[name_input],
744
  outputs=[current_state]
745
  )
 
805
  f.write(json.dumps(item) + "\n")
806
 
807
  if __name__ == "__main__":
808
+ demo.launch(share=False, ssr_mode=False)