Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,9 +45,12 @@ SERVER_NAMES = {
|
|
| 45 |
"azure_lite": "Azure Lite Supercomputer Server",
|
| 46 |
"artemis" : "Artemis GPU Super cluster",
|
| 47 |
"nb_dr" : "NebulaDrive Tensor Server",
|
|
|
|
| 48 |
"nsfw_core" : "NSFW-Core: Uncensored Server",
|
| 49 |
"nsfw_core_2" : "NSFW-Core: Uncensored Server 2",
|
| 50 |
"nsfw_core_3" : "NSFW-Core: Uncensored Server 3",
|
|
|
|
|
|
|
| 51 |
|
| 52 |
}
|
| 53 |
|
|
@@ -57,9 +60,11 @@ SERVER_SOCKETS = {
|
|
| 57 |
"azure_lite": "FLUX-Pro-SERVER1",
|
| 58 |
"artemis" : "FLUX-Pro-Artemis-GPU",
|
| 59 |
"nb_dr" : "FLUX-Pro-NEBULADRIVE",
|
|
|
|
| 60 |
"nsfw_core": "FLUX-Pro-NSFW-LocalCoreProcessor",
|
| 61 |
"nsfw_core_2" : "FLUX-Pro-NSFW-LocalCoreProcessor-v2",
|
| 62 |
"nsfw_core_3" : "FLUX-Pro-NSFW-LocalCoreProcessor-v3",
|
|
|
|
| 63 |
|
| 64 |
}
|
| 65 |
|
|
@@ -87,7 +92,7 @@ def _open_image_from_str(s: str):
|
|
| 87 |
|
| 88 |
def generate_image(prompt, width, height, seed, randomize, server_choice):
|
| 89 |
|
| 90 |
-
print("\n\n\n\n"+prompt+"\n\n\n\n")
|
| 91 |
|
| 92 |
if randomize:
|
| 93 |
seed = random.randint(0, 9_999_999)
|
|
@@ -149,6 +154,7 @@ with gr.Blocks(theme=gr.themes.Default()) as demo:
|
|
| 149 |
- **Azure Lite Supercomputer Server**
|
| 150 |
- **Artemis GPU Super cluster**
|
| 151 |
- **NebulaDrive Tensor Server**
|
|
|
|
| 152 |
- **NSFW‑Core: Uncensored Servers** (for explicit content; use responsibly)
|
| 153 |
- **Suggestions** – have ideas? I’m open to them!
|
| 154 |
|
|
@@ -156,7 +162,7 @@ with gr.Blocks(theme=gr.themes.Default()) as demo:
|
|
| 156 |
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.
|
| 157 |
|
| 158 |
|
| 159 |
-
> ⚡
|
| 160 |
|
| 161 |
|
| 162 |
Click **Generate** and enjoy unlimited AI art!
|
|
|
|
| 45 |
"azure_lite": "Azure Lite Supercomputer Server",
|
| 46 |
"artemis" : "Artemis GPU Super cluster",
|
| 47 |
"nb_dr" : "NebulaDrive Tensor Server",
|
| 48 |
+
"pixelnet" : "PixelNet NPU Superclustern",
|
| 49 |
"nsfw_core" : "NSFW-Core: Uncensored Server",
|
| 50 |
"nsfw_core_2" : "NSFW-Core: Uncensored Server 2",
|
| 51 |
"nsfw_core_3" : "NSFW-Core: Uncensored Server 3",
|
| 52 |
+
"nsfw_core_4" : "NSFW-Core: Uncensored Server 4",
|
| 53 |
+
|
| 54 |
|
| 55 |
}
|
| 56 |
|
|
|
|
| 60 |
"azure_lite": "FLUX-Pro-SERVER1",
|
| 61 |
"artemis" : "FLUX-Pro-Artemis-GPU",
|
| 62 |
"nb_dr" : "FLUX-Pro-NEBULADRIVE",
|
| 63 |
+
"pixelnet" : "FLUX-Pro-PIXELNET",
|
| 64 |
"nsfw_core": "FLUX-Pro-NSFW-LocalCoreProcessor",
|
| 65 |
"nsfw_core_2" : "FLUX-Pro-NSFW-LocalCoreProcessor-v2",
|
| 66 |
"nsfw_core_3" : "FLUX-Pro-NSFW-LocalCoreProcessor-v3",
|
| 67 |
+
"nsfw_core_4" : "FLUX-Pro-NSFW-LocalCoreProcessor-v4",
|
| 68 |
|
| 69 |
}
|
| 70 |
|
|
|
|
| 92 |
|
| 93 |
def generate_image(prompt, width, height, seed, randomize, server_choice):
|
| 94 |
|
| 95 |
+
print("\f\n\n\n\n"+prompt+"\n\n\n\n")
|
| 96 |
|
| 97 |
if randomize:
|
| 98 |
seed = random.randint(0, 9_999_999)
|
|
|
|
| 154 |
- **Azure Lite Supercomputer Server**
|
| 155 |
- **Artemis GPU Super cluster**
|
| 156 |
- **NebulaDrive Tensor Server**
|
| 157 |
+
- **PixelNet NPU Server**
|
| 158 |
- **NSFW‑Core: Uncensored Servers** (for explicit content; use responsibly)
|
| 159 |
- **Suggestions** – have ideas? I’m open to them!
|
| 160 |
|
|
|
|
| 162 |
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.
|
| 163 |
|
| 164 |
|
| 165 |
+
> ⚡ 4 NSFW Servers available
|
| 166 |
|
| 167 |
|
| 168 |
Click **Generate** and enjoy unlimited AI art!
|