Instructions to use isatis/kw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use isatis/kw with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("isatis/kw", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
return status when starting inference, less muscles
Browse files- handler.py +4 -3
handler.py
CHANGED
|
@@ -215,8 +215,8 @@ class EndpointHandler:
|
|
| 215 |
[
|
| 216 |
["detailed_eye-10", 0.3],
|
| 217 |
["add_detail", 0.3],
|
| 218 |
-
["MuscleGirl_v1", 0.
|
| 219 |
-
["dp_from_behind_v0.1b", 0.
|
| 220 |
["shibari_v20", 0.03],
|
| 221 |
["ftm-v0", 0.03],
|
| 222 |
["PovBlowjob-v3", 0.03],
|
|
@@ -248,7 +248,7 @@ class EndpointHandler:
|
|
| 248 |
["polyhedron_new_skin_v1.1", 0.25],
|
| 249 |
["detailed_eye-10", 0.2],
|
| 250 |
["add_detail", 0.2],
|
| 251 |
-
["MuscleGirl_v1", 0.
|
| 252 |
["tgirls_V3_5", 0.02],
|
| 253 |
["PovBlowjob-v3", 0.02],
|
| 254 |
# ["dp_from_behind_v0.1b", 0.2],
|
|
@@ -624,6 +624,7 @@ class EndpointHandler:
|
|
| 624 |
|
| 625 |
return {
|
| 626 |
"flag": "success",
|
|
|
|
| 627 |
"message": "Inference started",
|
| 628 |
"request_id": request_id,
|
| 629 |
}
|
|
|
|
| 215 |
[
|
| 216 |
["detailed_eye-10", 0.3],
|
| 217 |
["add_detail", 0.3],
|
| 218 |
+
["MuscleGirl_v1", 0.15],
|
| 219 |
+
["dp_from_behind_v0.1b", 0.15],
|
| 220 |
["shibari_v20", 0.03],
|
| 221 |
["ftm-v0", 0.03],
|
| 222 |
["PovBlowjob-v3", 0.03],
|
|
|
|
| 248 |
["polyhedron_new_skin_v1.1", 0.25],
|
| 249 |
["detailed_eye-10", 0.2],
|
| 250 |
["add_detail", 0.2],
|
| 251 |
+
["MuscleGirl_v1", 0.1],
|
| 252 |
["tgirls_V3_5", 0.02],
|
| 253 |
["PovBlowjob-v3", 0.02],
|
| 254 |
# ["dp_from_behind_v0.1b", 0.2],
|
|
|
|
| 624 |
|
| 625 |
return {
|
| 626 |
"flag": "success",
|
| 627 |
+
"status": "started",
|
| 628 |
"message": "Inference started",
|
| 629 |
"request_id": request_id,
|
| 630 |
}
|