Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ async def translate(
|
|
90 |
raise HTTPException(
|
91 |
status_code=400, detail={"message": "Missing required parameters"}
|
92 |
)
|
93 |
-
|
94 |
data = await request.json()
|
95 |
strings = data.get("strings", [])
|
96 |
|
|
|
90 |
raise HTTPException(
|
91 |
status_code=400, detail={"message": "Missing required parameters"}
|
92 |
)
|
93 |
+
print(await request.text)
|
94 |
data = await request.json()
|
95 |
strings = data.get("strings", [])
|
96 |
|