Spaces:
Sleeping
Sleeping
add docs' link to the root endpoint
Browse files- 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")
|