Arkm20 commited on
Commit
0d3710f
·
verified ·
1 Parent(s): a9fed93

Update app/main.py

Browse files
Files changed (1) hide show
  1. 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-schnell",
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 = "XLabs-AI/flux-RealismLora",
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: