| """ | |
| Litehat Wizard Chat — Gradio Space Entry Point | |
| Run: | |
| python app.py | |
| Or deploy to Hugging Face Spaces for instant access. | |
| """ | |
| import sys | |
| import os | |
| # Add parent to path for local development | |
| sys.path.insert(0, os.path.dirname(__file__)) | |
| from litehat.chat_interface import create_chat_app | |
| # Create the Gradio app | |
| app = create_chat_app() | |
| if __name__ == "__main__": | |
| app.launch(server_name="0.0.0.0", server_port=7860) | |