Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,9 @@ def get_lcm(prompt):
|
|
| 30 |
def get_sdxl_lightning(prompt):
|
| 31 |
client = Client("AP123/SDXL-Lightning")
|
| 32 |
result = client.predict(
|
| 33 |
-
|
| 34 |
-
|
|
|
|
| 35 |
)
|
| 36 |
print(result)
|
| 37 |
return result
|
|
|
|
| 30 |
def get_sdxl_lightning(prompt):
|
| 31 |
client = Client("AP123/SDXL-Lightning")
|
| 32 |
result = client.predict(
|
| 33 |
+
prompt, # str in 'parameter_1' Textbox component
|
| 34 |
+
"4-Step",
|
| 35 |
+
api_name="/predict"
|
| 36 |
)
|
| 37 |
print(result)
|
| 38 |
return result
|