Upload DEPLOY.md
Browse files
DEPLOY.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Litehat Chat Deployment
|
| 2 |
+
|
| 3 |
+
The chat interface is ready. Here's how to run it:
|
| 4 |
+
|
| 5 |
+
## Option 1: Run Locally
|
| 6 |
+
|
| 7 |
+
```bash
|
| 8 |
+
git clone https://huggingface.co/dryymatt/Litehat-Universal-Engine
|
| 9 |
+
cd Litehat-Universal-Engine
|
| 10 |
+
pip install gradio torch numpy httpx
|
| 11 |
+
python app.py
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
Open http://localhost:7860
|
| 15 |
+
|
| 16 |
+
## Option 2: Deploy as Hugging Face Space
|
| 17 |
+
|
| 18 |
+
1. Go to https://huggingface.co/new-space
|
| 19 |
+
2. Name: `litehat-wizard`
|
| 20 |
+
3. SDK: Gradio
|
| 21 |
+
4. Upload these files: `app.py`, `requirements.txt`, `litehat/`
|
| 22 |
+
5. The Space auto-builds and deploys
|
| 23 |
+
|
| 24 |
+
## Option 3: Run the CLI
|
| 25 |
+
|
| 26 |
+
```bash
|
| 27 |
+
python -m litehat summon --dream "build me a social network for gardeners"
|
| 28 |
+
```
|