pseudotheos
commited on
Commit
·
131d087
1
Parent(s):
bcfb623
Update app.py
Browse files
app.py
CHANGED
@@ -272,7 +272,7 @@ async def generate_image(
|
|
272 |
seed: int = Form(...),
|
273 |
sampler_type: str = Form(...),
|
274 |
image: UploadFile = File(...),
|
275 |
-
background_tasks: BackgroundTasks
|
276 |
):
|
277 |
async def generate_image_task():
|
278 |
try:
|
|
|
272 |
seed: int = Form(...),
|
273 |
sampler_type: str = Form(...),
|
274 |
image: UploadFile = File(...),
|
275 |
+
background_tasks: BackgroundTasks = BackgroundTasks()
|
276 |
):
|
277 |
async def generate_image_task():
|
278 |
try:
|