Spaces:
Sleeping
Sleeping
| # SPDX-License-Identifier: Apache-2.0 | |
| # Copyright (c) Axolotl AI | |
| # Licensed under the Apache License, Version 2.0 | |
| """HF Spaces entrypoint for the Hatchery ZeroGPU Tinker service.""" | |
| from zerogpu_tinker_service import build_space_app | |
| demo = build_space_app() | |
| if __name__ == "__main__": | |
| try: | |
| demo.queue().launch( | |
| server_name="0.0.0.0", | |
| server_port=7860, | |
| ssr_mode=False, | |
| show_error=True, | |
| ) | |
| except TypeError: | |
| demo.queue().launch(server_name="0.0.0.0", server_port=7860, show_error=True) | |