Spaces:
Sleeping
Sleeping
Update api.py
Browse files
api.py
CHANGED
|
@@ -72,6 +72,7 @@ async def root():
|
|
| 72 |
"message": "Welcome to NegaBot API",
|
| 73 |
"version": "1.0.0",
|
| 74 |
"description": "Tweet Sentiment Classification using NegaBot model",
|
|
|
|
| 75 |
"endpoints": {
|
| 76 |
"predict": "/predict - Single tweet prediction",
|
| 77 |
"batch_predict": "/batch_predict - Multiple tweets prediction",
|
|
|
|
| 72 |
"message": "Welcome to NegaBot API",
|
| 73 |
"version": "1.0.0",
|
| 74 |
"description": "Tweet Sentiment Classification using NegaBot model",
|
| 75 |
+
"OpenAPI Link": "https://jatinmehra-negabot-api.hf.space/docs"
|
| 76 |
"endpoints": {
|
| 77 |
"predict": "/predict - Single tweet prediction",
|
| 78 |
"batch_predict": "/batch_predict - Multiple tweets prediction",
|