Spaces:
Runtime error
Runtime error
siriuszeina
commited on
Commit
•
ba9035e
1
Parent(s):
d0e2139
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import shutil
|
|
3 |
import os
|
4 |
from gradio_client import Client
|
5 |
prompt_prefix = "night, full body, closed mouth, happy face, walking front, "
|
6 |
-
|
7 |
"loli, onepiece dress, white dress, sleeveless",
|
8 |
"loli, onepiece dress, white dress, sleeveless, white belt",
|
9 |
"loli, onepiece dress, white dress, sleeveless, white belt, white ribbon",
|
@@ -38,8 +38,9 @@ character = st.text_input("character")
|
|
38 |
anime_from = st.text_input("From")
|
39 |
seed = st.slider('seed', 0, 2147483647)
|
40 |
if st.button("Generate!"):
|
41 |
-
for p in
|
42 |
-
|
|
|
43 |
|
44 |
output_num = len(os.listdir("./output/"))
|
45 |
if output_num > 0:
|
|
|
3 |
import os
|
4 |
from gradio_client import Client
|
5 |
prompt_prefix = "night, full body, closed mouth, happy face, walking front, "
|
6 |
+
prompt_list = [
|
7 |
"loli, onepiece dress, white dress, sleeveless",
|
8 |
"loli, onepiece dress, white dress, sleeveless, white belt",
|
9 |
"loli, onepiece dress, white dress, sleeveless, white belt, white ribbon",
|
|
|
38 |
anime_from = st.text_input("From")
|
39 |
seed = st.slider('seed', 0, 2147483647)
|
40 |
if st.button("Generate!"):
|
41 |
+
for p in prompt_list:
|
42 |
+
prompt_new = "1girl, "+character+", "+anime_from+", "+prompt_prefix+p+prompt_suffix
|
43 |
+
print(prompt_new)
|
44 |
|
45 |
output_num = len(os.listdir("./output/"))
|
46 |
if output_num > 0:
|