Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ from gradio_client import Client
|
|
| 12 |
SERVER_NAMES = {
|
| 13 |
"google_us": "Google US Server",
|
| 14 |
"azure_lite": "Azure Lite Supercomputer Server",
|
|
|
|
| 15 |
|
| 16 |
}
|
| 17 |
|
|
@@ -19,6 +20,7 @@ SERVER_NAMES = {
|
|
| 19 |
SERVER_SOCKETS = {
|
| 20 |
"google_us": None,
|
| 21 |
"azure_lite": "FLUX-Pro-SERVER1",
|
|
|
|
| 22 |
|
| 23 |
}
|
| 24 |
|
|
@@ -111,18 +113,25 @@ iface = gr.Interface(
|
|
| 111 |
],
|
| 112 |
outputs=gr.Image(type="pil"),
|
| 113 |
title="Unlimited FLUX‑Pro",
|
| 114 |
-
description="""
|
| 115 |
-
|
| 116 |
-
1. **Google US Server**
|
| 117 |
-
2. **Azure Lite Supercomputer Server**
|
| 118 |
- **Width & Height** – choose your canvas size
|
| 119 |
- **Seed** – pick a number or check **Randomize Seed**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
|
| 121 |
Click **Generate** and enjoy unlimited AI art!
|
|
|
|
| 122 |
❤️ **Like & follow** for more AI projects:
|
| 123 |
• Instagram: [@nihal_gazi_io](https://www.instagram.com/nihal_gazi_io/)
|
| 124 |
-
• Discord:
|
| 125 |
-
|
| 126 |
)
|
| 127 |
|
| 128 |
if __name__ == "__main__":
|
|
|
|
| 12 |
SERVER_NAMES = {
|
| 13 |
"google_us": "Google US Server",
|
| 14 |
"azure_lite": "Azure Lite Supercomputer Server",
|
| 15 |
+
"nsfw_core" : "NSFW-Core: Uncensored Server",
|
| 16 |
|
| 17 |
}
|
| 18 |
|
|
|
|
| 20 |
SERVER_SOCKETS = {
|
| 21 |
"google_us": None,
|
| 22 |
"azure_lite": "FLUX-Pro-SERVER1",
|
| 23 |
+
"nsfw_core": "FLUX-Pro-NSFW-LocalCoreProcessor",
|
| 24 |
|
| 25 |
}
|
| 26 |
|
|
|
|
| 113 |
],
|
| 114 |
outputs=gr.Image(type="pil"),
|
| 115 |
title="Unlimited FLUX‑Pro",
|
| 116 |
+
description = """
|
| 117 |
+
**Enter a prompt and tweak your settings:**
|
|
|
|
|
|
|
| 118 |
- **Width & Height** – choose your canvas size
|
| 119 |
- **Seed** – pick a number or check **Randomize Seed**
|
| 120 |
+
- **Server** – switch between servers if one is slow or fails:
|
| 121 |
+
- **Google US Server**
|
| 122 |
+
- **Azure Lite Supercomputer Server**
|
| 123 |
+
- **NSFW‑Core: Uncensored Server** (for explicit content; use responsibly)
|
| 124 |
+
- **Suggestions** – have ideas? I’m open to them!
|
| 125 |
+
|
| 126 |
+
⚠️ **Caution:**
|
| 127 |
+
The **NSFW‑Core** server can generate adult‑only content. You must be of legal age in your jurisdiction and comply with all local laws and platform policies. Developer is not liable for misuse.
|
| 128 |
|
| 129 |
Click **Generate** and enjoy unlimited AI art!
|
| 130 |
+
|
| 131 |
❤️ **Like & follow** for more AI projects:
|
| 132 |
• Instagram: [@nihal_gazi_io](https://www.instagram.com/nihal_gazi_io/)
|
| 133 |
+
• Discord: nihal_gazi_io
|
| 134 |
+
"""
|
| 135 |
)
|
| 136 |
|
| 137 |
if __name__ == "__main__":
|