Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2020-101
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
Sachith Fernando
2020-101
Commits
1213695f
Commit
1213695f
authored
Nov 02, 2020
by
LiniEisha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reformatting serializer.py
parent
1e4f376c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
LectureSummarizingApp/serializer.py
LectureSummarizingApp/serializer.py
+1
-4
No files found.
LectureSummarizingApp/serializer.py
View file @
1213695f
...
...
@@ -4,6 +4,7 @@ from FirstApp.serializers import LecturerSerializer, SubjectSerializer
from
.
models
import
*
#serializers used in Lecture Summarizing Component
class
LectureAudioSerializer
(
serializers
.
ModelSerializer
):
lecturer
=
LecturerSerializer
()
...
...
@@ -23,7 +24,6 @@ class LectureAudioNoiseRemovedSerializer(serializers.ModelSerializer):
class
LectureSpeechToTextSerializer
(
serializers
.
ModelSerializer
):
# lecture_speech_to_text_id = LectureAudioNoiseRemovedSerializer()
lecture_audio_id
=
LectureAudioSerializer
()
class
Meta
:
...
...
@@ -32,7 +32,6 @@ class LectureSpeechToTextSerializer(serializers.ModelSerializer):
class
LectureAudioSummarySerializer
(
serializers
.
ModelSerializer
):
# lecture_audio_noise_removed_id = LectureSpeechToTextSerializer()
lecture_audio_id
=
LectureAudioSerializer
()
class
Meta
:
...
...
@@ -41,10 +40,8 @@ class LectureAudioSummarySerializer(serializers.ModelSerializer):
class
LectureNoticesSerializer
(
serializers
.
ModelSerializer
):
# lecture_audio_noise_removed_id = LectureSpeechToTextSerializer()
lecture_audio_id
=
LectureAudioSerializer
()
class
Meta
:
# model = LectureAudioSummary
model
=
LectureNotices
fields
=
'__all__'
\ 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