shahabkahn commited on
Commit
89b8097
1 Parent(s): 30c5928

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -2
main.py CHANGED
@@ -35,8 +35,9 @@ async def Predict_Sentiment(text_input: TextInput):
35
  raise HTTPException(status_code=500, detail=str(e))
36
 
37
  @app.get('/')
38
- async def html():
39
- return "Welcome to Financial Sentiment Analysis API"
 
40
 
41
 
42
  #ngrok_tunnel = ngrok.connect(8000)
 
35
  raise HTTPException(status_code=500, detail=str(e))
36
 
37
  @app.get('/')
38
+ async def home():
39
+ #return "Welcome to Financial Sentiment Analysis API"
40
+ return RedirectResponse(url="/docs")
41
 
42
 
43
  #ngrok_tunnel = ngrok.connect(8000)