Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
21_22-J 38
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
21_22-J 38
21_22-J 38
Commits
79a10c40
Commit
79a10c40
authored
Jan 14, 2022
by
W.D.R.P. Sandeepa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change db connection
parent
f869950b
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
8 deletions
+8
-8
.idea/21_22j-38.iml
.idea/21_22j-38.iml
+1
-1
.idea/misc.xml
.idea/misc.xml
+1
-1
API/app.py
API/app.py
+2
-2
API/db/__pycache__/dbConnection.cpython-39.pyc
API/db/__pycache__/dbConnection.cpython-39.pyc
+0
-0
API/db/dbConnection.py
API/db/dbConnection.py
+2
-2
API/model/__pycache__/readModel.cpython-39.pyc
API/model/__pycache__/readModel.cpython-39.pyc
+0
-0
backend/IT18218640/__pycache__/keyword_spotting_service.cpython-39.pyc
...18640/__pycache__/keyword_spotting_service.cpython-39.pyc
+0
-0
backend/IT18218640/server.py
backend/IT18218640/server.py
+2
-2
No files found.
.idea/21_22j-38.iml
View file @
79a10c40
...
...
@@ -5,7 +5,7 @@
<excludeFolder
url=
"file://$MODULE_DIR$/venv"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/API/venv"
/>
</content>
<orderEntry
type=
"jdk"
jdkName=
"Python 3.
8
"
jdkType=
"Python SDK"
/>
<orderEntry
type=
"jdk"
jdkName=
"Python 3.
9
"
jdkType=
"Python SDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</module>
\ No newline at end of file
.idea/misc.xml
View file @
79a10c40
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 3.
8
"
project-jdk-type=
"Python SDK"
/>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"Python 3.
9
"
project-jdk-type=
"Python SDK"
/>
</project>
\ No newline at end of file
API/app.py
View file @
79a10c40
...
...
@@ -45,6 +45,6 @@ def abc():
if
__name__
==
"__main__"
:
# app.run(host='192.168.8.101
')
app
.
run
(
host
=
'192.168.8.100
'
)
# app.run(host='192.168.8.100,port='5000', debug=True)
app
.
run
(
debug
=
True
)
#
app.run(debug=True)
API/db/__pycache__/dbConnection.cpython-39.pyc
View file @
79a10c40
No preview for this file type
API/db/dbConnection.py
View file @
79a10c40
...
...
@@ -12,13 +12,13 @@ def create_con():
database
=
"helply"
,
host
=
"127.0.0.1"
,
user
=
"root"
,
password
=
"
12345678
"
password
=
"
rp19970520
"
)
return
db
def
create_con_pandas
():
db_connection_str
=
'mysql+mysqlconnector://root:
12345678
@127.0.0.1/helply'
db_connection_str
=
'mysql+mysqlconnector://root:
rp19970520
@127.0.0.1/helply'
db
=
create_engine
(
db_connection_str
)
return
db
...
...
API/model/__pycache__/readModel.cpython-39.pyc
0 → 100644
View file @
79a10c40
File added
backend/IT18218640/__pycache__/keyword_spotting_service.cpython-39.pyc
0 → 100644
View file @
79a10c40
File added
backend/IT18218640/server.py
View file @
79a10c40
...
...
@@ -18,7 +18,7 @@ def predict():
new_predict_file_name
=
predict_file_name
[
1
]
new_predict_file_name
=
new_predict_file_name
.
split
(
"."
)
FPFN
=
new_predict_file_name
[
0
]
print
(
f
"{FPFN}"
)
#
print(f"{FPFN}")
# invoke keyword spotting service
kss
=
Keyword_Spotting_service
()
...
...
@@ -34,6 +34,6 @@ def predict():
return
jsonify
(
data
)
if
__name__
==
"__main__"
:
# app.run(host='192.168.8.10
2
')
# app.run(host='192.168.8.10
0
')
#app.run(host='192.168.8.100,port='5000', debug=True)
app
.
run
(
debug
=
False
)
\ No newline at end of file
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