MatteoScript commited on
Commit
186367a
·
verified ·
1 Parent(s): 8547e87

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -2
main.py CHANGED
@@ -462,8 +462,9 @@ def generate_image(request: Request, input_data: InputImage):
462
  while attempt < max_attempts:
463
  try:
464
  print(input_data.input)
465
- if input_data.variante = False:
466
- client = Client("AP123/SDXL-Lightning")
 
467
  result = client.predict(
468
  input_data.input,
469
  "8-Step",
 
462
  while attempt < max_attempts:
463
  try:
464
  print(input_data.input)
465
+ if input_data.variante = False:
466
+ #client = Client("AP123/SDXL-Lightning")
467
+ client = Client("ByteDance/SDXL-Lightning")
468
  result = client.predict(
469
  input_data.input,
470
  "8-Step",