Eugeoter commited on
Commit
d5e0448
1 Parent(s): 32f1452
Files changed (4) hide show
  1. .gitignore +3 -1
  2. app.py +5 -1
  3. examples/example_2.jpg +0 -0
  4. tmp.py +2 -2
.gitignore CHANGED
@@ -159,4 +159,6 @@ cython_debug/
159
  # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
160
  # and can be added to the global gitignore or merged into this file. For a more nuclear
161
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
162
- #.idea/
 
 
 
159
  # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
160
  # and can be added to the global gitignore or merged into this file. For a more nuclear
161
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
162
+ #.idea/
163
+
164
+ tmp.py
app.py CHANGED
@@ -118,9 +118,13 @@ def ui():
118
  label='Examples',
119
  examples=[
120
  [
121
- 'best quality, 1girl, solo, open hand, outdoors, street',
122
  'examples/example_1.jpg',
123
  ],
 
 
 
 
124
  ],
125
  inputs=[
126
  prompt,
 
118
  label='Examples',
119
  examples=[
120
  [
121
+ 'best quality, 1girl, solo, open hand, outdoors, indoor, cute, young, cat, cat ear, glasses',
122
  'examples/example_1.jpg',
123
  ],
124
+ [
125
+ 'best quality, , 1 komeiji koishi, solo, the pose, indoors, smile',
126
+ 'examples/example_2.jpg',
127
+ ]
128
  ],
129
  inputs=[
130
  prompt,
examples/example_2.jpg ADDED
tmp.py CHANGED
@@ -3,5 +3,5 @@ import cv2
3
  import numpy as np
4
 
5
 
6
- image = Image.open(r"C:\Users\15070\Desktop\projects\spaces\ControlNeXt\examples\image - 2024-08-19T170045.514.png")
7
- image.save(r"C:\Users\15070\Desktop\projects\spaces\ControlNeXt\examples\image - 2024-08-19T170045.514.jpg", quality=90)
 
3
  import numpy as np
4
 
5
 
6
+ image = Image.open(r"examples/image - 2024-08-19T203141.618.png")
7
+ image.save(r"examples/example_2.jpg", quality=90)