Spaces:
Runtime error
Runtime error
siriuszeina
commited on
Commit
•
418b8a3
1
Parent(s):
46bc653
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,36 @@
|
|
1 |
import streamlit as st
|
2 |
import shutil
|
3 |
-
import os
|
4 |
from gradio_client import Client
|
5 |
-
prompt_prefix = "
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
if os.path.exists("./output/") == False:
|
9 |
os.mkdir("./output/")
|
10 |
project_name = str(st.text_input("Project name")).replace(" ", "-")
|
|
|
1 |
import streamlit as st
|
2 |
import shutil
|
3 |
+
import os
|
4 |
from gradio_client import Client
|
5 |
+
prompt_prefix = "night, full body, closed mouth, happy face, walking front, "
|
6 |
+
prompt = [
|
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",
|
10 |
+
"loli, onepiece dress, white dress, sleeveless, white belt, white ribbon, white sock",
|
11 |
+
"loli, onepiece dress, white dress, sleeveless, white belt, white ribbon, white sock, white shoes",
|
12 |
+
"loli, onepiece dress, white dress, sleeveless, black belt, white ribbon, white sock, white shoes",
|
13 |
+
"loli, onepiece dress, white dress, sleeveless, black belt, red ribbon, white sock, white shoes",
|
14 |
+
"loli, onepiece dress, white dress, sleeveless, black belt, red ribbon, white sock, black shoes",
|
15 |
+
"loli, onepiece dress, white dress, sleeveless, black belt, red ribbon, white sock, black shoes, white skirt",
|
16 |
+
"loli, onepiece dress, white dress, short sleeve, black belt, red ribbon, white sock, black shoes, white skirt",
|
17 |
+
"loli, onepiece dress, white clothes, short sleeve, black belt, red ribbon, white sock, black shoes, white skirt",
|
18 |
+
"loli, elementary school dress, white clothes, short sleeve, black belt, red ribbon, white sock, black shoes, white skirt",
|
19 |
+
"loli, elementary school uniform, white clothes, short sleeve, black belt, red ribbon, white sock, black shoes, white skirt",
|
20 |
+
"loli, elementary school uniform, white clothes, short sleeve, black belt, red ribbon, white sock, black shoes, white skirt, white collar",
|
21 |
+
"loli, elementary school uniform, white clothes, short sleeve, black belt, red ribbon, white sock, black shoes, white skirt, white collar, sailor collar",
|
22 |
+
"loli, elementary school uniform, white clothes, short sleeve, black belt, red ribbon, white sock, black shoes, blue skirt, white collar, sailor collar",
|
23 |
+
"loli, middle school uniform, white clothes, short sleeve, black belt, red ribbon, white sock, black shoes, blue skirt, white collar, sailor collar",
|
24 |
+
"loli, middle school uniform, white clothes, short sleeve, black belt, red ribbon, white sock, black shoes, blue skirt, blue collar, sailor collar",
|
25 |
+
"loli, middle school uniform, white clothes, short sleeve, black belt, red necktie, white sock, black shoes, blue skirt, blue collar, sailor collar",
|
26 |
+
"loli, middle school uniform, white clothes, short sleeve, black belt, red necktie, white sock, black shoes, blue skirt, white collar, sailor collar",
|
27 |
+
"loli, middle school uniform, white clothes, short sleeve, black belt, red necktie, white sock, black shoes, blue skirt, white collar, formal collar",
|
28 |
+
"middle school uniform, white clothes, short sleeve, black belt, red necktie, white sock, black shoes, blue skirt, white collar, formal collar",
|
29 |
+
"high school uniform, white clothes, short sleeve, black belt, red necktie, white sock, black shoes, blue skirt, white collar, formal collar",
|
30 |
+
"high school uniform, white clothes, short sleeve, black belt, red necktie, white sock, black shoes, blue skirt, white collar, formal collar, blazer",
|
31 |
+
"high school uniform, white clothes, short sleeve, black belt, red necktie, white sock, black shoes, blue skirt, white collar, formal collar, black blazer",
|
32 |
+
]
|
33 |
+
prompt_suffix = ", masterpiece, best quality, very aesthetic, absurdres"
|
34 |
if os.path.exists("./output/") == False:
|
35 |
os.mkdir("./output/")
|
36 |
project_name = str(st.text_input("Project name")).replace(" ", "-")
|