Spaces:
Build error
Build error
Update main.py
Browse files
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",
|