Last active
October 13, 2022 19:34
-
-
Save tayiorbeii/ff5628efd1898ab779ef2e907d1afbe7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@johnlindquist/kit" | |
// Name: whisper-colab-download-commands | |
let originalFilenames = await drop() | |
let dlCommands = originalFilenames.map(x => { | |
return [`files.download("${x.name}.txt")`, `files.download("${x.name}.srt")`, `files.download("${x.name}.vtt")`,] | |
}) | |
await copy(`from google.colab import files \n${dlCommands.flat().join('\n')}`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment