Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
Codigos_AEG
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ADITYA ANIL JAIN
Codigos_AEG
Commits
346a4d81
Commit
346a4d81
authored
Nov 26, 2019
by
shreyansh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
heroku app added
parent
10ed3243
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
main.py
main.py
+1
-3
prediction.py
prediction.py
+1
-1
No files found.
main.py
View file @
346a4d81
...
...
@@ -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'
)
prediction.py
View file @
346a4d81
...
...
@@ -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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment