Skip to content

Commit

Permalink
standardizing function definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
AchintyaX committed Feb 26, 2021
1 parent 211b897 commit b875131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyword_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def recent(self):
for i in range(len(arr)):
output.append(self.from_text(arr[i]))
return output
def from_recording(self,model=None):#returns a dictionary of names and labels from recorded audio
def from_audio(self,model=None):#returns a dictionary of names and labels from recorded audio
recording = text_gen(model = model)
text = recording.text_from_recording()
return self.from_text(text)
Expand Down

0 comments on commit b875131

Please sign in to comment.