eaedk commited on
Commit
b9311a8
1 Parent(s): fa15f43

add docs' link to the root endpoint

Browse files
Files changed (1) hide show
  1. src/main_sentiment.py +1 -0
src/main_sentiment.py CHANGED
@@ -27,6 +27,7 @@ def read_root():
27
  "Home endpoint"
28
  return {"greeting": "Hello World..!",
29
  "cohort": "2",
 
30
  }
31
 
32
  @app.post("/predict")
 
27
  "Home endpoint"
28
  return {"greeting": "Hello World..!",
29
  "cohort": "2",
30
+ "docs": "https://eaedk-tweetsentimentanalysisapi.hf.space/docs",
31
  }
32
 
33
  @app.post("/predict")