Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
|
@@ -275,6 +275,8 @@ async def face_swap_api(
|
|
| 275 |
if user_id == "":
|
| 276 |
user_id = None
|
| 277 |
|
|
|
|
|
|
|
| 278 |
if target_category_id and new_category_id:
|
| 279 |
raise HTTPException(400, "Provide only one of new_category_id or target_category_id.")
|
| 280 |
|
|
|
|
| 275 |
if user_id == "":
|
| 276 |
user_id = None
|
| 277 |
|
| 278 |
+
logger.info(f"[FaceSwap] Incoming request → target_category_id={target_category_id}, new_category_id={new_category_id}, user_id={user_id}")
|
| 279 |
+
|
| 280 |
if target_category_id and new_category_id:
|
| 281 |
raise HTTPException(400, "Provide only one of new_category_id or target_category_id.")
|
| 282 |
|