songweig commited on
Commit
88332b4
1 Parent(s): 99e3c03
Files changed (3) hide show
  1. .gitignore +3 -1
  2. app.py +1 -12
  3. requirements.txt +3 -3
.gitignore CHANGED
@@ -1,3 +1,5 @@
1
  venv
2
  __pycache__/
3
- *.pyc
 
 
 
1
  venv
2
  __pycache__/
3
+ *.pyc
4
+ *.png
5
+ *.jpg
app.py CHANGED
@@ -274,7 +274,7 @@ def main():
274
  None,
275
  ],
276
  [
277
- '{"ops":[{"insert":"A cozy "},{"attributes":{"link":"A charming wooden cabin with Christmas decoration, warm light coming out from the windows."},"insert":"cabin"},{"insert":" nestled in a "},{"attributes":{"link":"Towering evergreen trees covered in a thick layer of pristine snow."},"insert":"snowy forest"},{"insert":", and a "},{"attributes":{"link":"A cute snowman wearing a carrot nose, coal eyes, and a colorful scarf, welcoming visitors with a cheerful vibe."},"insert":"snowman"},{"insert":" stands in the yard.\n"}]}',
278
  '',
279
  12,
280
  0.4,
@@ -402,17 +402,6 @@ def main():
402
  0,
403
  None,
404
  ],
405
- [
406
- '{"ops":[{"attributes":{"link":"the awe-inspiring sky and ocean in the style of J.M.W. Turner"},"insert":"the awe-inspiring sky and sea"},{"insert":" by "},{"attributes":{"font":"mirza"},"insert":"a coast with flowers and grasses in spring"}]}',
407
- 'worst quality, dark, poor quality',
408
- 2,
409
- 0.45,
410
- 0,
411
- 0,
412
- 9,
413
- 0.5,
414
- None,
415
- ],
416
  [
417
  '{"ops":[{"insert":"a night"},{"attributes":{"font":"slabo"},"insert":" sky"},{"insert":" filled with stars above a turbulent"},{"attributes":{"font":"roboto"},"insert":" sea"},{"insert":" with giant waves"}]}',
418
  '',
 
274
  None,
275
  ],
276
  [
277
+ '{"ops":[{"insert":"A cozy "},{"attributes":{"link":"A charming wooden cabin with Christmas decoration, warm light coming out from the windows."},"insert":"cabin"},{"insert":" nestled in a "},{"attributes":{"link":"Towering evergreen trees covered in a thick layer of pristine snow."},"insert":"snowy forest"},{"insert":", and a "},{"attributes":{"link":"A cute snowman wearing a carrot nose, coal eyes, and a colorful scarf, welcoming visitors with a cheerful vibe."},"insert":"snowman"},{"insert":" stands in the yard."}]}',
278
  '',
279
  12,
280
  0.4,
 
402
  0,
403
  None,
404
  ],
 
 
 
 
 
 
 
 
 
 
 
405
  [
406
  '{"ops":[{"insert":"a night"},{"attributes":{"font":"slabo"},"insert":" sky"},{"insert":" filled with stars above a turbulent"},{"attributes":{"font":"roboto"},"insert":" sea"},{"insert":" with giant waves"}]}',
407
  '',
requirements.txt CHANGED
@@ -1,9 +1,9 @@
1
  --extra-index-url https://download.pytorch.org/whl/cu117
2
  torch==1.13.1
3
  torchvision==0.14.1
4
- diffusers==0.12.1
5
- transformers==4.26.0
6
- numpy==1.24.2
7
  seaborn==0.12.2
8
  accelerate==0.16.0
9
  scikit-learn==1.1.3
 
1
  --extra-index-url https://download.pytorch.org/whl/cu117
2
  torch==1.13.1
3
  torchvision==0.14.1
4
+ diffusers==0.18.2
5
+ transformers==4.27.0
6
+ numpy==1.24.3
7
  seaborn==0.12.2
8
  accelerate==0.16.0
9
  scikit-learn==1.1.3