We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f20f39c commit dd0d3c7Copy full SHA for dd0d3c7
lib/main.py
@@ -168,7 +168,7 @@ async def gfpgan_upscale(
168
user_id = sign_check(request)
169
except ValueError:
170
raise HTTPException(status_code=status.HTTP_401_UNAUTHORIZED)
171
- background_tasks.add_task(gfpgan_background, file.actionFile, user_id)
+ background_tasks.add_task(gfpgan_background, file, user_id)
172
return Response()
173
174
0 commit comments