Shamik commited on
Commit
d6e9982
·
verified ·
1 Parent(s): f6a6ef0

fix: removing the showcasing of the error from the ui and setting debug to false.

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. src/insurance_assistants/ui.py +1 -1
app.py CHANGED
@@ -2,5 +2,4 @@ from src.insurance_assistants.ui import UI
2
  from src.insurance_assistants.consts import PROJECT_ROOT_DIR
3
 
4
  if __name__ == "__main__":
5
- UI().launch(allowed_paths=[(PROJECT_ROOT_DIR /"data/policy_wordings").as_posix()],
6
- show_error=True)
 
2
  from src.insurance_assistants.consts import PROJECT_ROOT_DIR
3
 
4
  if __name__ == "__main__":
5
+ UI().launch(allowed_paths=[(PROJECT_ROOT_DIR /"data/policy_wordings").as_posix()])
 
src/insurance_assistants/ui.py CHANGED
@@ -331,7 +331,7 @@ class UI:
331
  inputs=[session_state],
332
  )
333
 
334
- demo.queue(max_size=4).launch(debug=True, **kwargs)
335
 
336
 
337
  # if __name__=="__main__":
 
331
  inputs=[session_state],
332
  )
333
 
334
+ demo.queue(max_size=4).launch(debug=False, **kwargs)
335
 
336
 
337
  # if __name__=="__main__":