Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -253,9 +253,7 @@ body {background: linear-gradient(135deg, #f2e6ff 0%, #e6f0ff 100%); color: #222
|
|
253 |
"""
|
254 |
|
255 |
author_note = (
|
256 |
-
"**ℹ️
|
257 |
-
"only if translation weights could be loaded. If not, Korean input will be "
|
258 |
-
"sent unchanged."
|
259 |
)
|
260 |
|
261 |
# Function to boost prompt with LLM
|
@@ -272,7 +270,7 @@ def boost_prompt(keyword):
|
|
272 |
with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
273 |
gr.Markdown(
|
274 |
f"""
|
275 |
-
## 🖌️ NSFW
|
276 |
{author_note}
|
277 |
""", elem_classes=["title"]
|
278 |
)
|
@@ -285,7 +283,7 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
285 |
# Add keyword input and boost button
|
286 |
with gr.Row():
|
287 |
keyword_input = gr.Text(
|
288 |
-
label="
|
289 |
show_label=True,
|
290 |
max_lines=1,
|
291 |
placeholder="Enter a keyword or theme to generate an optimal prompt"
|
|
|
253 |
"""
|
254 |
|
255 |
author_note = (
|
256 |
+
"**ℹ️ This code provides a test environment to experiment with the censorship limits and technical possibilities of AI-based adult content generation. It serves as an educational tool that offers researchers and creators the opportunity to test various prompt methods and understand the ethical boundaries of image generation technology."
|
|
|
|
|
257 |
)
|
258 |
|
259 |
# Function to boost prompt with LLM
|
|
|
270 |
with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
271 |
gr.Markdown(
|
272 |
f"""
|
273 |
+
## 🖌️ NSFW Uncensored Text & Imagery: AI Limits Explorer
|
274 |
{author_note}
|
275 |
""", elem_classes=["title"]
|
276 |
)
|
|
|
283 |
# Add keyword input and boost button
|
284 |
with gr.Row():
|
285 |
keyword_input = gr.Text(
|
286 |
+
label="Keyword Input",
|
287 |
show_label=True,
|
288 |
max_lines=1,
|
289 |
placeholder="Enter a keyword or theme to generate an optimal prompt"
|