Commit 346a4d81 authored by shreyansh's avatar shreyansh

heroku app added

parent 10ed3243
......@@ -76,7 +76,5 @@ async def evaluate(request):
return PlainTextResponse(message)
if __name__ == '__main__':
print('start given')
port = int(os.environ.get('PORT', 5000))
uvicorn.run(app, host='0.0.0.0', port=port)
\ No newline at end of file
print('started')
......@@ -7,7 +7,7 @@ import numpy as np
from tensorflow import keras
from nltk.corpus import stopwords
from gensim.models import KeyedVectors
# nltk.download('stopwords')
nltk.download('stopwords')
warnings.filterwarnings("ignore")
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment