nav13n commited on
Commit
ec10561
·
1 Parent(s): 1525ab7

README commit

Browse files
.github/workflows/check_file_size.yml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Check file size
2
+ on: # or directly `on: [push]` to run the action on every push on any branch
3
+ pull_request:
4
+ branches: [main]
5
+
6
+ # to run this workflow manually from the Actions tab
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ sync-to-hub:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Check large files
14
+ uses: ActionsDesk/lfs-warning@v2.0
15
+ with:
16
+ filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces
.github/workflows/sync_to_hf_space.yml CHANGED
@@ -15,4 +15,4 @@ jobs:
15
  - name: Push to hub
16
  env:
17
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
18
- run: git push -f https://<user_name>:$HF_TOKEN@huggingface.co/spaces/<user_name>/<repo_name> main
 
15
  - name: Push to hub
16
  env:
17
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
18
+ run: git push -f https://nav13n:$HF_TOKEN@huggingface.co/spaces/nav13n/DocuSage main
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.9
2
  RUN useradd -m -u 1000 user
3
  USER user
4
  ENV HOME=/home/user \
 
1
+ FROM python:3.11
2
  RUN useradd -m -u 1000 user
3
  USER user
4
  ENV HOME=/home/user \
requirements.txt CHANGED
@@ -1,12 +1,13 @@
1
- chainlit
2
- tiktoken
3
- python-dotenv
4
- langchain
5
- langchain-openai
6
- langchain_core
7
- langchain-community
8
- langchainhub
9
- openai
10
- qdrant-client
11
- pymupdf
12
- pandas
 
 
1
+ chainlit==0.7.700
2
+ tiktoken==0.6.0
3
+ python-dotenv==1.0.0
4
+ langchain==0.1.17
5
+ langchain-openai==0.1.5
6
+ langchain_core==0.1.49
7
+ langchain-community==0.0.36
8
+ langchainhub==0.1.15
9
+ openai==1.25.1
10
+ qdrant-client==1.9.0
11
+ pandas==2.2.0
12
+ pymupdf
13
+