Update app/main.py
Browse files- app/main.py +2 -2
app/main.py
CHANGED
@@ -27,7 +27,7 @@ def root():
|
|
27 |
@app.get("/gen")
|
28 |
def generate_image(
|
29 |
prompt: str = Query(..., description="Prompt for image generation"),
|
30 |
-
basemodel: str = "black-forest-labs/FLUX.1-
|
31 |
width: int = 1280,
|
32 |
height: int = 768,
|
33 |
scales: int = 8,
|
@@ -35,7 +35,7 @@ def generate_image(
|
|
35 |
seed: int = -1,
|
36 |
upscale_factor: str = "2",
|
37 |
process_upscale: bool = False,
|
38 |
-
lora_model: str = "
|
39 |
process_lora: bool = False
|
40 |
):
|
41 |
try:
|
|
|
27 |
@app.get("/gen")
|
28 |
def generate_image(
|
29 |
prompt: str = Query(..., description="Prompt for image generation"),
|
30 |
+
basemodel: str = "black-forest-labs/FLUX.1-DEV",
|
31 |
width: int = 1280,
|
32 |
height: int = 768,
|
33 |
scales: int = 8,
|
|
|
35 |
seed: int = -1,
|
36 |
upscale_factor: str = "2",
|
37 |
process_upscale: bool = False,
|
38 |
+
lora_model: str = "enhanceaiteam/Flux-uncensored",
|
39 |
process_lora: bool = False
|
40 |
):
|
41 |
try:
|