charliebaby2023
commited on
Commit
โข
77b3367
1
Parent(s):
556ec8a
Update app.py
Browse files
app.py
CHANGED
@@ -11,20 +11,6 @@ now2=0
|
|
11 |
#kii= "2characters, interracial, BREAK ,(1man black nude standing peeing from glans, peeing into mouth), BREAK ,(1femboy white nude kneeling, tiny penis, medium breasts, nipples pierced, blindfolded, legs spread, pee dripping from chin, mouth wide open, leather collar, chain leash), realisitic human textures,"
|
12 |
kii= "5characters, interracial, BREAK , (1femboy, upside down, white nude kneeling, tiny penis, medium breasts, nipples pierced, blindfolded, legs spread, pee dripping from chin, mouth wide open, leather collar, chain leash), BREAK, (4men black nude standing, peeing from glans, peeing on femboy), realisitic human textures,"
|
13 |
|
14 |
-
|
15 |
-
#API_BASE_URL = "https://api-inference.huggingface.co/models/"
|
16 |
-
MODEL_LIST = [
|
17 |
-
"Bakanayatsu/ponyDiffusion-V6-XL-Turbo-DPO",
|
18 |
-
"John6666/mala-anime-mix-nsfw-pony-xl-v3-sdxl",
|
19 |
-
"John6666/momoiro-pony-v14-sdxl",
|
20 |
-
"John6666/real-mix-pony-v01-sdxl",
|
21 |
-
"John6666/photo-realistic-pony-v5-sdxl",
|
22 |
-
"Yntec/nuipenimix",
|
23 |
-
"Yntec/iffyMix",
|
24 |
-
"Yntec/mistoonAnime2", #7K
|
25 |
-
"Yntec/nuipenimix2", #34K
|
26 |
-
"Yntec/YiffyMix", #44K
|
27 |
-
]
|
28 |
def get_current_time():
|
29 |
now = datetime.now()
|
30 |
now2=now
|
@@ -111,38 +97,6 @@ def make_me():
|
|
111 |
|
112 |
|
113 |
|
114 |
-
with gr.Blocks(theme="miittnnss/green", title="Play with Stable Diffusion Models") as playground:
|
115 |
-
gr.HTML(
|
116 |
-
"""
|
117 |
-
<div style="text-align: center; margin: 0 auto;">
|
118 |
-
<div style="display: inline-flex; align-items: center; gap: 0.8rem; font-size: 1.75rem;">
|
119 |
-
<h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">๐จ๐ค Play with SD Models</h1>
|
120 |
-
</div>
|
121 |
-
<p style="margin-bottom: 10px; font-size: 94%; line-height: 23px;">
|
122 |
-
Explore and create your AI art with Stable Diffusion models!
|
123 |
-
</p>
|
124 |
-
</div>
|
125 |
-
"""
|
126 |
-
)
|
127 |
-
|
128 |
-
with gr.Row():
|
129 |
-
image_output = gr.Image(type="pil", label="Output Image", elem_id="gallery")
|
130 |
-
with gr.Column(elem_id="prompt-container"):
|
131 |
-
text_prompt = gr.Textbox(label="Prompt", placeholder="a cute cat", lines=1, elem_id="prompt-text-input")
|
132 |
-
model_dropdown = gr.Dropdown(label="Model", choices=MODEL_LIST, elem_id="model-dropdown", value="runwayml/stable-diffusion-v1-5")
|
133 |
-
gen_button = gr.Button("Generate", variant='primary', elem_id="gen-button")
|
134 |
-
|
135 |
-
with gr.Accordion("Advanced settings", open=False):
|
136 |
-
negative_prompt = gr.Textbox(label="Negative Prompt", value="text, blurry, fuzziness", lines=1, elem_id="negative-prompt-text-input")
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
|
147 |
with gr.Row():
|
148 |
gr.HTML(
|
|
|
11 |
#kii= "2characters, interracial, BREAK ,(1man black nude standing peeing from glans, peeing into mouth), BREAK ,(1femboy white nude kneeling, tiny penis, medium breasts, nipples pierced, blindfolded, legs spread, pee dripping from chin, mouth wide open, leather collar, chain leash), realisitic human textures,"
|
12 |
kii= "5characters, interracial, BREAK , (1femboy, upside down, white nude kneeling, tiny penis, medium breasts, nipples pierced, blindfolded, legs spread, pee dripping from chin, mouth wide open, leather collar, chain leash), BREAK, (4men black nude standing, peeing from glans, peeing on femboy), realisitic human textures,"
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
def get_current_time():
|
15 |
now = datetime.now()
|
16 |
now2=now
|
|
|
97 |
|
98 |
|
99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
|
101 |
with gr.Row():
|
102 |
gr.HTML(
|