Spaces:
Runtime error
Runtime error
title: Swiss Law Chatbot Space | |
emoji: 🤗 | |
colorFrom: yellow | |
colorTo: blue | |
sdk: gradio | |
app_file: app.py | |
pinned: false | |
# Swiss Law Chatbot | |
## Installation | |
``` | |
pip install -r requirements.txt | |
``` | |
## Running in development | |
``` | |
export OPENAI_API_KEY= | |
python app.py | |
``` | |
## Pushing to github | |
Make sure that you have git lfs installed: https://git-lfs.com/ | |
One time install it | |
``` | |
git lfs install | |
``` | |
## Setting up deploment to Hugginface Spaces | |
### Make sure you have added your ssh key to be able to deploy | |
https://huggingface.co./docs/hub/security-git-ssh | |
### Add huggingface remote | |
``` | |
git remote add space [email protected]:spaces/aspnai/swiss-law-chatbot | |
``` | |
## Deployment | |
``` | |
git push space | |
``` |