Spaces:
Running
on
Zero
Running
on
Zero
updated
Browse files- .gitignore +3 -1
- app.py +5 -1
- examples/example_2.jpg +0 -0
- 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,
|
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"
|
7 |
-
image.save(r"
|
|
|
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)
|