dek924 commited on
Commit
b9a55c8
·
1 Parent(s): f8bafcb

feat: update launch config

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -682,7 +682,6 @@ with gr.Blocks(title="PatientSim", theme=gr.themes.Soft(), css=CUSTOM_CSS) as de
682
  )
683
  back_from_auto_btn.click(
684
  fn=back_to_setup_from_auto,
685
- inputs=[patient_agent_state],
686
  outputs=[auto_chatbot, patient_agent_state, sim_config_state, setup_section, mode_section, auto_section, chat_section],
687
  )
688
 
@@ -718,4 +717,4 @@ with gr.Blocks(title="PatientSim", theme=gr.themes.Soft(), css=CUSTOM_CSS) as de
718
 
719
 
720
  if __name__ == "__main__":
721
- demo.launch()
 
682
  )
683
  back_from_auto_btn.click(
684
  fn=back_to_setup_from_auto,
 
685
  outputs=[auto_chatbot, patient_agent_state, sim_config_state, setup_section, mode_section, auto_section, chat_section],
686
  )
687
 
 
717
 
718
 
719
  if __name__ == "__main__":
720
+ demo.launch(server_name="0.0.0.0", server_port=7860)