Romain Graux commited on
Commit
e96d882
β€’
1 Parent(s): cfc3782

Fix reqs + gh actions

Browse files
.github/workflow/hf_max_size.yml CHANGED
@@ -3,8 +3,6 @@ on:
3
  pull_request:
4
  branches: [space]
5
 
6
- # to run this workflow manually from the Actions tab
7
- workflow_dispatch:
8
 
9
  jobs:
10
  sync-to-hub:
 
3
  pull_request:
4
  branches: [space]
5
 
 
 
6
 
7
  jobs:
8
  sync-to-hub:
.github/workflow/hf_space.yml CHANGED
@@ -3,9 +3,6 @@ on:
3
  push:
4
  branches: [space]
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
@@ -17,4 +14,4 @@ jobs:
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
- run: git push https://HF_USERNAME:[email protected]/spaces/nccr-catalysis/atom-detection master
 
3
  push:
4
  branches: [space]
5
 
 
 
 
6
  jobs:
7
  sync-to-hub:
8
  runs-on: ubuntu-latest
 
14
  - name: Push to hub
15
  env:
16
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
17
+ run: git push https://HF_USERNAME:[email protected]/spaces/nccr-catalysis/atom-detection main
README.md CHANGED
@@ -4,9 +4,10 @@ emoji: πŸš€
4
  colorFrom: purple
5
  colorTo: blue
6
  sdk: gradio
7
- sdk_version: 4.16.0
 
8
  app_file: app.py
9
- pinned: false
10
  ---
11
 
12
  # Atoms Detection
 
4
  colorFrom: purple
5
  colorTo: blue
6
  sdk: gradio
7
+ sdk_version: 3.21.0
8
+ python_version: 3.10.9
9
  app_file: app.py
10
+ pinned: true
11
  ---
12
 
13
  # Atoms Detection
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio==3.24.1
2
  matplotlib==3.7.1
3
  networkx==3.0
4
  numpy==1.23.5
@@ -8,5 +8,8 @@ Pillow==9.5.0
8
  scikit_learn==1.2.2
9
  scipy==1.10.1
10
  seaborn==0.12.2
11
- torch==1.13.1
12
  torchvision==0.14.1
 
 
 
 
1
+ gradio==3.21.0
2
  matplotlib==3.7.1
3
  networkx==3.0
4
  numpy==1.23.5
 
8
  scikit_learn==1.2.2
9
  scipy==1.10.1
10
  seaborn==0.12.2
11
+ torch==2.0.1
12
  torchvision==0.14.1
13
+ imageio==2.26.0
14
+ pyro-ppl==1.8.5
15
+ bokeh==3.3.4