Spaces:
Build error
Build error
File size: 405 Bytes
b380004 66760eb b380004 66760eb | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | from chattr.app.app import App
from chattr.app.settings import Settings
def main() -> None:
"""Launch the app."""
settings = Settings()
application = App(settings)
gradio_application = application.gradio_app()
gradio_application.queue(api_open=True)
gradio_application.launch(debug=True, enable_monitoring=True, show_error=True, pwa=True)
if __name__ == "__main__":
main()
|