Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,12 +46,6 @@ def infer(selected_space, prompt, seed=42, randomize_seed=False, width=1024, hei
|
|
46 |
raise gr.Error(e)
|
47 |
return result
|
48 |
|
49 |
-
# 将示例格式化为正确的嵌套列表格式
|
50 |
-
examples = [
|
51 |
-
["a tiny astronaut hatching from an egg on the moon"],
|
52 |
-
["a cat holding a sign that says hello world"],
|
53 |
-
["an anime illustration of a wiener schnitzel"],
|
54 |
-
]
|
55 |
|
56 |
css = """
|
57 |
#col-container {
|
@@ -77,6 +71,7 @@ with gr.Blocks(css=css) as demo:
|
|
77 |
max_lines=1,
|
78 |
placeholder="Enter your prompt",
|
79 |
container=False,
|
|
|
80 |
)
|
81 |
run_button = gr.Button("Run", scale=0)
|
82 |
|
@@ -116,14 +111,6 @@ with gr.Blocks(css=css) as demo:
|
|
116 |
step=1,
|
117 |
value=4,
|
118 |
)
|
119 |
-
|
120 |
-
gr.Examples(
|
121 |
-
examples=examples,
|
122 |
-
inputs=prompt, # 只使用 prompt 作为输入
|
123 |
-
outputs=result, # 只使用 result 作为输出
|
124 |
-
fn=infer, # 使用 infer 函数
|
125 |
-
cache_examples="lazy"
|
126 |
-
)
|
127 |
|
128 |
gr.on(
|
129 |
triggers=[run_button.click, prompt.submit],
|
@@ -139,52 +126,12 @@ with gr.Blocks(css=css) as demo:
|
|
139 |
],
|
140 |
outputs=[result, seed]
|
141 |
)
|
|
|
|
|
|
|
142 |
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
Best AI Tools •
|
147 |
-
<a href="https://nudeai.beauty" target="_blank">Nude AI</a> •
|
148 |
-
<a href="https://uncensoredai.cc" target="_blank">Uncensored AI</a> •
|
149 |
-
<a href="https://aihentaigenerator.fun" target="_blank">AI Hentai Generator</a> •
|
150 |
-
<a href="https://stable-diffusion-hentai.aihentaigenerator.fun" target="_blank">Stable Diffusion Hentai</a> •
|
151 |
-
<a href="https://bingimagecreator.online" target="_blank">Bing Image Creator</a> •
|
152 |
-
<a href="https://nsfwaiart.art" target="_blank">NSFW AI Art</a> •
|
153 |
-
<a href="https://nsfw-ai-chatbot.online" target="_blank">NSFW AI Chatbot</a> •
|
154 |
-
<a href="https://nsfwai.world" target="_blank">NSFW AI Directory</a> •
|
155 |
-
<a href="https://aitoolsdirectory.online" target="_blank">AI Tools Directory</a> •
|
156 |
-
<a href="https://viggleai.live" target="_blank">Viggle AI</a> •
|
157 |
-
<a href="https://chatgpt4o.space" target="_blank">ChatGPT 4o Free</a> •
|
158 |
-
<a href="https://tdeecalculator.online" target="_blank">TDEE Calculator</a> •
|
159 |
-
<a href="https://calculatorapp.online" target="_blank">Calculator App</a> •
|
160 |
-
<a href="https://compoundinterestcalculator.site" target="_blank">Compound Interest Calculator</a> •
|
161 |
-
<a href="https://aistorygenerator.fun" target="_blank">AI Story Generator</a> •
|
162 |
-
<a href="https://llamaai.online" target="_blank">Free Online Llama AI</a> •
|
163 |
-
<a href="https://aiartfree.online" target="_blank">Free AI Art Generator</a> •
|
164 |
-
<a href="https://cekkhodam.co/" target="_blank">Cek Khodam</a> •
|
165 |
-
<a href="https://ai-detector.online" target="_blank">AI Detector</a> •
|
166 |
-
<a href="https://aicover.fun" target="_blank">AI Cover</a> •
|
167 |
-
<a href="https://flux-ai.online/" target="_blank">Flux AI Image Generator</a> •
|
168 |
-
<a href="https://bratgenerator.org" target="_blank">Brat Generator</a> •
|
169 |
-
<a href="https://aitextgenerator.live" target="_blank">AI Text Generator</a> •
|
170 |
-
<a href="https://blackmythwukong.buzz" target="_blank">Black Myth Wukong Guide</a> •
|
171 |
-
<a href="https://booksummary.wiki" target="_blank">Book Summary</a> •
|
172 |
-
<a href="https://chatgptgratuit.chat" target="_blank">ChatGPT Gratuit</a> •
|
173 |
-
<a href="https://chatgptgratuito.online/" target="_blank">Chat GPT Gratuito</a> •
|
174 |
-
<a href="https://chatgtponline.com/" target="_blank">Chat GTP</a> •
|
175 |
-
<a href="https://gauthai.pro/" target="_blank">Gauth AI</a> •
|
176 |
-
<a href="https://bestrecipe.pro/" target="_blank">Best Recipe</a> •
|
177 |
-
<a href="https://cookie-clicker-unblocked.pro/" target="_blank">Cookie Clicker Unblocked</a> •
|
178 |
-
<a href="https://freakyfont.org/" target="_blank">Freaky Font</a> •
|
179 |
-
<a href="https://chatgratuito.online" target="_blank">Chat Gratuito</a> •
|
180 |
-
<a href="https://incrediboxsprunki.pro" target="_blank">Incredibox Sprunki</a> •
|
181 |
-
<a href="https://motox3munblocked.pro" target="_blank">Moto X3M Unblocked</a> •
|
182 |
-
<a href="https://parkourcivilization.pro" target="_blank">Parkour Civilization</a> •
|
183 |
-
<a href="https://sledrider3d.com" target="_blank">Sled Rider 3D</a> •
|
184 |
-
<a href="https://snow-rider-3d.pro" target="_blank">Snow Rider 3D</a> •
|
185 |
-
<a href="https://sprunkigame.pro" target="_blank">Sprunki Game</a> •
|
186 |
-
<a href="https://stickmanhookunblocked.pro" target="_blank">Stickman Hook Unblocked</a> •
|
187 |
-
</p>
|
188 |
-
"""
|
189 |
|
190 |
demo.launch()
|
|
|
46 |
raise gr.Error(e)
|
47 |
return result
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
css = """
|
51 |
#col-container {
|
|
|
71 |
max_lines=1,
|
72 |
placeholder="Enter your prompt",
|
73 |
container=False,
|
74 |
+
value="beautiful sexy woman, at the beach, relaxing, dreamy, highly detailed, big boobs, realistic lighting, sharp focus"
|
75 |
)
|
76 |
run_button = gr.Button("Run", scale=0)
|
77 |
|
|
|
111 |
step=1,
|
112 |
value=4,
|
113 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
|
115 |
gr.on(
|
116 |
triggers=[run_button.click, prompt.submit],
|
|
|
126 |
],
|
127 |
outputs=[result, seed]
|
128 |
)
|
129 |
+
gr.Markdown("""
|
130 |
+
### Best AI Tools
|
131 |
+
[Nude AI](https://nudeai.beauty) • [Uncensored AI](https://uncensoredai.cc) • [AI Hentai Generator](https://aihentaigenerator.fun) • [Stable Diffusion Hentai](https://stable-diffusion-hentai.aihentaigenerator.fun) • [Bing Image Creator](https://bingimagecreator.online) • [NSFW AI Art](https://nsfwaiart.art) • [NSFW AI Chatbot](https://nsfw-ai-chatbot.online) • [NSFW AI World](https://nsfwai.world) • [AI Tools Directory](https://aitoolsdirectory.online) • [Viggle AI](https://viggleai.live) • [TDEE Calculator](https://tdeecalculator.online) • [Calculator App](https://calculatorapp.online) • [Compound Interest Calculator](https://compoundinterestcalculator.site) • [AI Story Generator](https://aistorygenerator.fun) • [Llama AI](https://llamaai.online) • [AI Art Free](https://aiartfree.online) • [Cek Khodam](https://cekkhodam.co) • [AI Detector](https://ai-detector.online) • [AI Cover](https://aicover.fun) • [Flux AI](https://flux-ai.online) • [Brat Generator](https://bratgenerator.org) • [AI Text Generator](https://aitextgenerator.live) • [Black Myth Wukong](https://blackmythwukong.buzz) • [Book Summary](https://booksummary.wiki) • [ChatGPT Gratuit](https://chatgptgratuit.chat) • [ChatGPT Online](https://chatgtponline.com) • [Gau Thai](https://gauthai.pro) • [Best Recipe](https://bestrecipe.pro)
|
132 |
|
133 |
+
### Games
|
134 |
+
[Cookie Clicker Unblocked](https://cookie-clicker-unblocked.pro) • [Freaky Font](https://freakyfont.org) • [Chat Gratuito](https://chatgratuito.online) • [Incredibox Sprunki](https://incrediboxsprunki.pro) • [Moto X3M Unblocked](https://motox3munblocked.pro) • [Parkour Civilization](https://parkourcivilization.pro) • [Sled Rider 3D](https://sledrider3d.com) • [Snow Rider 3D](https://snow-rider-3d.pro) • [Sprunki Game](https://sprunkigame.pro) • [Stickman Hook Unblocked](https://stickmanhookunblocked.pro)
|
135 |
+
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
|
137 |
demo.launch()
|