Spaces:
Running
Running
fix: removing the showcasing of the error from the ui and setting debug to false.
Browse files- app.py +1 -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=
|
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__":
|