Skip to content

Commit

Permalink
added annotations for result_dict and transcripts inside function get…
Browse files Browse the repository at this point in the history
…_transcripts_from_utterances
  • Loading branch information
Vivitsa Shankar authored and Vivitsa Shankar committed Jan 4, 2024
1 parent f5e4fa0 commit efc0e0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dialogy/plugins/text/dob_plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ def get_transcripts_from_utterances(utterances: List[Utterance], func_transcript
output:
best_transcript,
"""
result_dict = {}
result_dict: Dict[str, float] = {}
transcripts: List[str] = []

for utterance_set in utterances:
for utterance in utterance_set:
transcript = utterance.get('transcript')
Expand Down

0 comments on commit efc0e0d

Please sign in to comment.