hysts HF staff commited on
Commit
8792696
1 Parent(s): e0c43be
.pre-commit-config.yaml CHANGED
@@ -19,25 +19,30 @@ repos:
19
  - id: docformatter
20
  args: ["--in-place"]
21
  - repo: https://github.com/pycqa/isort
22
- rev: 5.12.0
23
  hooks:
24
  - id: isort
25
  args: ["--profile", "black"]
26
  - repo: https://github.com/pre-commit/mirrors-mypy
27
- rev: v1.7.1
28
  hooks:
29
  - id: mypy
30
  args: ["--ignore-missing-imports"]
31
  additional_dependencies:
32
- ["types-python-slugify", "types-requests", "types-PyYAML"]
 
 
 
 
 
33
  - repo: https://github.com/psf/black
34
- rev: 23.11.0
35
  hooks:
36
  - id: black
37
  language_version: python3.10
38
  args: ["--line-length", "119"]
39
  - repo: https://github.com/kynan/nbstripout
40
- rev: 0.6.1
41
  hooks:
42
  - id: nbstripout
43
  args:
 
19
  - id: docformatter
20
  args: ["--in-place"]
21
  - repo: https://github.com/pycqa/isort
22
+ rev: 5.13.2
23
  hooks:
24
  - id: isort
25
  args: ["--profile", "black"]
26
  - repo: https://github.com/pre-commit/mirrors-mypy
27
+ rev: v1.8.0
28
  hooks:
29
  - id: mypy
30
  args: ["--ignore-missing-imports"]
31
  additional_dependencies:
32
+ [
33
+ "types-python-slugify",
34
+ "types-requests",
35
+ "types-PyYAML",
36
+ "types-pytz",
37
+ ]
38
  - repo: https://github.com/psf/black
39
+ rev: 24.2.0
40
  hooks:
41
  - id: black
42
  language_version: python3.10
43
  args: ["--line-length", "119"]
44
  - repo: https://github.com/kynan/nbstripout
45
+ rev: 0.7.1
46
  hooks:
47
  - id: nbstripout
48
  args:
.vscode/settings.json CHANGED
@@ -5,7 +5,7 @@
5
  "editor.defaultFormatter": "ms-python.black-formatter",
6
  "editor.formatOnType": true,
7
  "editor.codeActionsOnSave": {
8
- "source.organizeImports": true
9
  }
10
  },
11
  "[jupyter]": {
@@ -22,5 +22,9 @@
22
  "--line-length=119"
23
  ],
24
  "notebook.output.scrolling": true,
25
- "notebook.formatOnCellExecution": true
 
 
 
 
26
  }
 
5
  "editor.defaultFormatter": "ms-python.black-formatter",
6
  "editor.formatOnType": true,
7
  "editor.codeActionsOnSave": {
8
+ "source.organizeImports": "explicit"
9
  }
10
  },
11
  "[jupyter]": {
 
22
  "--line-length=119"
23
  ],
24
  "notebook.output.scrolling": true,
25
+ "notebook.formatOnCellExecution": true,
26
+ "notebook.formatOnSave.enabled": true,
27
+ "notebook.codeActionsOnSave": {
28
+ "source.organizeImports": "explicit"
29
+ }
30
  }
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 😻
4
  colorFrom: yellow
5
  colorTo: red
6
  sdk: gradio
7
- sdk_version: 4.9.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: yellow
5
  colorTo: red
6
  sdk: gradio
7
+ sdk_version: 4.19.2
8
  app_file: app.py
9
  pinned: false
10
  license: mit
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
- accelerate==0.25.0
2
- diffusers==0.24.0
3
- gradio==4.9.0
4
  sentencepiece==0.1.99
5
- spaces==0.18.0
6
  torch==2.0.0
7
- transformers==4.36.0
 
1
+ accelerate==0.27.2
2
+ diffusers==0.26.3
3
+ gradio==4.19.2
4
  sentencepiece==0.1.99
5
+ spaces==0.23.2
6
  torch==2.0.0
7
+ transformers==4.38.1
style.css CHANGED
@@ -1,5 +1,6 @@
1
  h1 {
2
  text-align: center;
 
3
  }
4
 
5
  .contain {
 
1
  h1 {
2
  text-align: center;
3
+ display: block;
4
  }
5
 
6
  .contain {