hrlima commited on
Commit
87261ee
·
verified ·
1 Parent(s): 8b9eb86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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)