Spaces:
Running
on
Zero
Running
on
Zero
| [Unit] | |
| Description=Multi-Model Chatbot Gradio Service | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=YOUR_USERNAME | |
| WorkingDirectory=/path/to/simple-chatbot-gradio | |
| Environment="PATH=/path/to/simple-chatbot-gradio/venv/bin:/usr/bin:/bin" | |
| ExecStart=/path/to/simple-chatbot-gradio/venv/bin/python app.py | |
| Restart=on-failure | |
| RestartSec=10 | |
| StandardOutput=append:/var/log/chatbot.log | |
| StandardError=append:/var/log/chatbot-error.log | |
| [Install] | |
| WantedBy=multi-user.target | |