File size: 705 Bytes
13d0559
 
 
 
5149f78
13d0559
 
 
 
 
cceecbe
 
 
 
 
 
 
 
 
 
 
 
3ce9a57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
cceecbe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
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
```