Toggle navigation
Toggle navigation
This project
Loading...
Sign in
박은주
/
Todays_Issue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
박은주
2021-06-08 23:21:26 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
017ee214ca3edfcc0b32edf83d10b493d5b83c04
017ee214
1 parent
f9a1a756
Add Schedule
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app.py
app.py
View file @
017ee21
import
schedule
from
flask
import
Flask
,
render_template
from
SentimentAnalyzer
import
StartSentimentAnalysis
...
...
@@ -7,7 +9,7 @@ app = Flask(__name__)
@app.route
(
'/'
)
def
main
():
GetData
(
)
schedule
.
every
()
.
day
.
at
(
"08:00"
)
.
do
(
GetData
()
)
tot
,
positive
,
neutral
,
negative
=
StartSentimentAnalysis
()
return
render_template
(
'index.html'
,
data
=
{
'total'
:
tot
,
...
...
Please
register
or
login
to post a comment