dbouget commited on
Commit
c126ca1
1 Parent(s): 72f9ad7

Fixing HF space name and removing demo legacy

Browse files
.github/workflows/deploy.yml CHANGED
@@ -17,4 +17,4 @@ jobs:
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
- run: git push https://dbouget:$HF_TOKEN@huggingface.co/spaces/dbouget/Raidionics-HF main
 
17
  - name: Push to hub
18
  env:
19
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
+ run: git push https://dbouget:$HF_TOKEN@huggingface.co/spaces/dbouget/raidionics main
shell/format.sh CHANGED
@@ -1,4 +1,4 @@
1
  #!/bin/bash
2
- isort --sl demo/src/ demo/app.py
3
- black --line-length 80 demo/src/ demo/app.py
4
- flake8 demo/src/ demo/app.py
 
1
  #!/bin/bash
2
+ isort --sl src/ app.py
3
+ black --line-length 80 src/ app.py
4
+ flake8 src/ app.py
shell/lint.sh CHANGED
@@ -1,19 +1,19 @@
1
  #!/bin/bash
2
- isort --check --sl -c demo/src/ demo/app.py
3
  if ! [ $? -eq 0 ]
4
  then
5
  echo "Please run \"sh shell/format.sh\" to format the code."
6
  exit 1
7
  fi
8
  echo "no issues with isort"
9
- flake8 demo/src/ demo/app.py
10
  if ! [ $? -eq 0 ]
11
  then
12
  echo "Please fix the code style issue."
13
  exit 1
14
  fi
15
  echo "no issues with flake8"
16
- black --check --line-length 80 demo/src/ demo/app.py
17
  if ! [ $? -eq 0 ]
18
  then
19
  echo "Please run \"sh shell/format.sh\" to format the code."
 
1
  #!/bin/bash
2
+ isort --check --sl -c src/ app.py
3
  if ! [ $? -eq 0 ]
4
  then
5
  echo "Please run \"sh shell/format.sh\" to format the code."
6
  exit 1
7
  fi
8
  echo "no issues with isort"
9
+ flake8 src/ app.py
10
  if ! [ $? -eq 0 ]
11
  then
12
  echo "Please fix the code style issue."
13
  exit 1
14
  fi
15
  echo "no issues with flake8"
16
+ black --check --line-length 80 src/ app.py
17
  if ! [ $? -eq 0 ]
18
  then
19
  echo "Please run \"sh shell/format.sh\" to format the code."