Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
redhongx
2024-07-04 17:30:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f7939fa6c7a1ddba3baee78ebecc239a79258325
f7939fa6
1 parent
a6176021
【app.py】注释部分情感分析相关代码
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
app.py
app.py
View file @
f7939fa
...
...
@@ -32,13 +32,13 @@ def catch_all(path):
def
run_script
():
current_dir
=
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
))
spider_script
=
os
.
path
.
join
(
current_dir
,
'spider'
,
'main.py'
)
cutComments_script
=
os
.
path
.
join
(
current_dir
,
'utils'
,
'cutComments.py'
)
cipingTotal_script
=
os
.
path
.
join
(
current_dir
,
'utils'
,
'cipingTotal.py'
)
# cutComments_script = os.path.join(current_dir, 'utils', 'cutComments.py')
# cipingTotal_script = os.path.join(current_dir, 'utils', 'cipingTotal.py')
scripts
=
[
(
"Spider Script"
,
spider_script
),
(
"Cut Comments Script"
,
cutComments_script
),
(
"Ciping Total Script"
,
cipingTotal_script
)
# ("Cut Comments Script", cutComments_script),
# ("Ciping Total Script", cipingTotal_script)
]
for
script_name
,
script_path
in
scripts
:
...
...
Please
register
or
login
to post a comment