Skip to content

Commit

Permalink
Update ttt.py (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
jquagga authored Oct 8, 2024
1 parent ae22028 commit b2fc47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ttt.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def transcribe_transformers(calljson, audiofile):

# Set the return argument to english
# result = PIPE(audiofile, generate_kwargs={"language": "english"})
result = PIPE(audiofile, generate_kwargs={"language": "english"})
result = PIPE(audiofile, generate_kwargs={"language": "english", "return_timestamps": False})
calljson["text"] = result["text"]
return calljson

Expand Down

0 comments on commit b2fc47b

Please sign in to comment.