Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,6 +83,10 @@ async def analyze_text(input: TextInput):
|
|
| 83 |
@app.get("/")
|
| 84 |
async def root():
|
| 85 |
return {"status": "ok", "message": "API de análise emocional rodando 🚀"}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
| 87 |
if __name__ == "__main__":
|
| 88 |
uvicorn.run("app:app", host="0.0.0.0", port=7860)
|
|
|
|
| 83 |
@app.get("/")
|
| 84 |
async def root():
|
| 85 |
return {"status": "ok", "message": "API de análise emocional rodando 🚀"}
|
| 86 |
+
print("Payload enviado:", payload)
|
| 87 |
+
print("Status code:", response.status_code)
|
| 88 |
+
print("Response:", response.text)
|
| 89 |
+
|
| 90 |
|
| 91 |
if __name__ == "__main__":
|
| 92 |
uvicorn.run("app:app", host="0.0.0.0", port=7860)
|