AILIXIR Bot commited on
Commit
158e6ba
·
1 Parent(s): f3bcb9a

Auto-sync: ff80060837c59d790a9ad93448f08dd55e862f21

Browse files
Files changed (2) hide show
  1. .env +16 -0
  2. .github/workflows/sync-hf-all.yml +3 -19
.env CHANGED
@@ -110,3 +110,19 @@ CLOUDINARY_CLOUD_NAME=dummy_cloud
110
  CLOUDINARY_API_KEY=dummy_key
111
  CLOUDINARY_API_SECRET=dummy_secret
112
  QUEUE_CONNECTION=sync
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  CLOUDINARY_API_KEY=dummy_key
111
  CLOUDINARY_API_SECRET=dummy_secret
112
  QUEUE_CONNECTION=sync
113
+ RUN_MODE=hf
114
+ APP_KEY=base64:T/MgQZht16genNJN3aZ5flCuvfe7Zfs4yFhuAFO2itU=
115
+ AI_INTEGRATION_ROUTES_ENABLED=true
116
+ APP_URL=https://RottenShadow-ailixir-api.hf.space
117
+ APP_DEBUG=true
118
+ ADMET_AI_URL=https://shdwRow-ailixir-admet.hf.space
119
+ CHEMICAL_AI_URL=https://RottenShadow-ailixir-chemical-rag.hf.space
120
+ DRUG_REPURPOSING_URL=https://RottenShadow-ailixir-drug-repurposing.hf.space
121
+ GENERATION_SERVICE_URL=https://shdwRow-ailixir-generation.hf.space
122
+ GOOGLE_CLIENT_ID=1057187818132-kbb9b483o5j3aoibk7oibo19q7nge01l.apps.googleusercontent.com
123
+ GOOGLE_CLIENT_SECRET=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
124
+ GOOGLE_REDIRECT_URI=https://RottenShadow-ailixir-api.hf.space/api/user/auth/google
125
+ CLOUDINARY_CLOUD_NAME=dummy_cloud
126
+ CLOUDINARY_API_KEY=dummy_key
127
+ CLOUDINARY_API_SECRET=dummy_secret
128
+ QUEUE_CONNECTION=sync
.github/workflows/sync-hf-all.yml CHANGED
@@ -15,7 +15,7 @@ name: Sync to Hugging Face Spaces
15
 
16
  on:
17
  push:
18
- branches: [main, feature/hugging-face-deploy]
19
  workflow_dispatch:
20
 
21
  jobs:
@@ -103,6 +103,7 @@ jobs:
103
  - uses: actions/checkout@v4
104
  with:
105
  fetch-depth: 0
 
106
  - name: Install git-xet for binary file support
107
  run: |
108
  curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/huggingface/xet-core/refs/heads/main/git_xet/install.sh | sh
@@ -159,24 +160,7 @@ jobs:
159
  - uses: actions/checkout@v4
160
  with:
161
  fetch-depth: 0
162
- lfs: false
163
- - uses: actions/cache@v4
164
- id: lfs-cache
165
- with:
166
- path: .lfs-cache
167
- key: lfs-generation-${{ hashFiles('ai_apps/generation/bundle/models/**') }}
168
- restore-keys: lfs-generation-
169
- - name: Pull LFS objects (cached)
170
- run: |
171
- git lfs install
172
- if [ -d .lfs-cache ]; then
173
- mkdir -p .git/lfs/objects
174
- rsync -a .lfs-cache/ .git/lfs/objects/
175
- fi
176
- git lfs pull
177
- mkdir -p .lfs-cache
178
- rsync -a .git/lfs/objects/ .lfs-cache/
179
- git lfs checkout
180
  - name: Install git-xet for binary file support
181
  run: |
182
  curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/huggingface/xet-core/refs/heads/main/git_xet/install.sh | sh
 
15
 
16
  on:
17
  push:
18
+ branches: [main]
19
  workflow_dispatch:
20
 
21
  jobs:
 
103
  - uses: actions/checkout@v4
104
  with:
105
  fetch-depth: 0
106
+ lfs: true
107
  - name: Install git-xet for binary file support
108
  run: |
109
  curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/huggingface/xet-core/refs/heads/main/git_xet/install.sh | sh
 
160
  - uses: actions/checkout@v4
161
  with:
162
  fetch-depth: 0
163
+ lfs: true
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  - name: Install git-xet for binary file support
165
  run: |
166
  curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/huggingface/xet-core/refs/heads/main/git_xet/install.sh | sh