Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
bom_identify
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a4e9ee50
authored
Jun 29, 2020
by
lichenggang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加预测结果
parent
e41b463e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
predict/txt_predict.py
predict/txt_predict.py
View file @
a4e9ee50
...
...
@@ -57,6 +57,7 @@ class TxtPredict(BasePredictor):
resp_data
[
'gn_or_param'
]
=
' '
.
join
(
nonull_nonum_items
)
resp
[
row_index
]
=
resp_data
self
.
info
.
info
(
'预测结果为: '
+
str
({
'results'
:
resp
}))
return
{
'results'
:
resp
}
...
...
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