Update app.py
Browse files
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(
|
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)
|