trust-the-guard / app.py
Perfect7613's picture
Expose hosted errors and hide maintenance controls
8b2cc47 verified
Raw
History Blame Contribute Delete
370 Bytes
from trust_guard.ui import build_app
demo = build_app()
if __name__ == "__main__":
# Spaces enables SSR by default. This app's stateful radio/button events do
# not hydrate reliably behind the hosted Node proxy, so serve the normal
# client-rendered Gradio app instead.
demo.queue(default_concurrency_limit=1).launch(ssr_mode=False, show_error=True)