Update app.py
Browse files
app.py
CHANGED
|
@@ -8,8 +8,6 @@ from PIL import Image
|
|
| 8 |
import json
|
| 9 |
from huggingface_hub import InferenceClient
|
| 10 |
|
| 11 |
-
# Project by Nymbo
|
| 12 |
-
|
| 13 |
def query_with_auto_routing(prompt, model, custom_lora, negative_prompt: str | None = None, steps=35, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, width=1024, height=1024):
|
| 14 |
"""
|
| 15 |
Generate images using HF's automatic provider routing
|
|
|
|
| 8 |
import json
|
| 9 |
from huggingface_hub import InferenceClient
|
| 10 |
|
|
|
|
|
|
|
| 11 |
def query_with_auto_routing(prompt, model, custom_lora, negative_prompt: str | None = None, steps=35, cfg_scale=7, sampler="DPM++ 2M Karras", seed=-1, strength=0.7, width=1024, height=1024):
|
| 12 |
"""
|
| 13 |
Generate images using HF's automatic provider routing
|