Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
21_22-J-02
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-02
21_22-J-02
Commits
8b038061
Commit
8b038061
authored
Apr 28, 2022
by
NaweenTharuka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Updated path for grammer checker
parent
b801b46e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
Presently/presently/users/__pycache__/grammerchecker.cpython-39.pyc
...presently/users/__pycache__/grammerchecker.cpython-39.pyc
+0
-0
Presently/presently/users/__pycache__/views.cpython-39.pyc
Presently/presently/users/__pycache__/views.cpython-39.pyc
+0
-0
Presently/presently/users/views.py
Presently/presently/users/views.py
+6
-1
No files found.
Presently/presently/users/__pycache__/grammerchecker.cpython-39.pyc
0 → 100644
View file @
8b038061
File added
Presently/presently/users/__pycache__/views.cpython-39.pyc
View file @
8b038061
No preview for this file type
Presently/presently/users/views.py
View file @
8b038061
...
@@ -14,6 +14,7 @@ from . import emotiondetectionvideo
...
@@ -14,6 +14,7 @@ from . import emotiondetectionvideo
import
myprosody
as
mysp
import
myprosody
as
mysp
import
pickle
import
pickle
from
.
import
myprosody
from
.
import
myprosody
from
.
import
grammerchecker
def
test
(
request
):
def
test
(
request
):
p
=
"publicspeech"
p
=
"publicspeech"
...
@@ -45,7 +46,11 @@ def aboutus(request):
...
@@ -45,7 +46,11 @@ def aboutus(request):
return
render
(
request
,
'users/aboutus.html'
)
return
render
(
request
,
'users/aboutus.html'
)
def
pronuciation
(
request
):
def
pronuciation
(
request
):
return
render
(
request
,
'users/pronuciation.html'
)
result
=
grammerchecker
.
result
context
=
{
'result'
:
result
,
}
return
render
(
request
,
'users/pronuciation.html'
,
context
)
def
warningemotionsaudio
(
request
):
def
warningemotionsaudio
(
request
):
return
render
(
request
,
'users/unusualemotionswarning.html'
)
return
render
(
request
,
'users/unusualemotionswarning.html'
)
...
...
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