tlong-ds commited on
Commit
b49d5c2
·
verified ·
1 Parent(s): a75f957

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -10,6 +10,10 @@ app = FastAPI()
10
  async def root():
11
  return {"message": "Sentiment Analysis API is running."}
12
 
 
 
 
 
13
  @app.post("/chat", response_model=str)
14
  async def chat_endpoint(message: str = Form(...)):
15
  if "model" not in classification_modeL_cache:
 
10
  async def root():
11
  return {"message": "Sentiment Analysis API is running."}
12
 
13
+ @app.get("/logo")
14
+ async def load_log():
15
+ return {"message": "hello"}
16
+
17
  @app.post("/chat", response_model=str)
18
  async def chat_endpoint(message: str = Form(...)):
19
  if "model" not in classification_modeL_cache: