Commit
·
574868c
1
Parent(s):
8d15e82
Update main.py
Browse files
main.py
CHANGED
@@ -4,6 +4,7 @@ import schemas
|
|
4 |
import Database
|
5 |
import models
|
6 |
import Cleaning
|
|
|
7 |
|
8 |
|
9 |
|
@@ -15,7 +16,7 @@ def index():
|
|
15 |
|
16 |
@app.get('/reviews',status_code=status.HTTP_200_OK)
|
17 |
def get_reviews():
|
18 |
-
return "Reviews"
|
19 |
|
20 |
#Porcessing Shakwa
|
21 |
@app.post('/predict_summary')
|
|
|
4 |
import Database
|
5 |
import models
|
6 |
import Cleaning
|
7 |
+
from datetime import datetime
|
8 |
|
9 |
|
10 |
|
|
|
16 |
|
17 |
@app.get('/reviews',status_code=status.HTTP_200_OK)
|
18 |
def get_reviews():
|
19 |
+
return "Reviews"+str(datetime.today().date())
|
20 |
|
21 |
#Porcessing Shakwa
|
22 |
@app.post('/predict_summary')
|