diff --git a/website/site/content/blog/2022-05-16_audio_file_addon.md b/website/site/content/blog/2022-05-16_audio_file_addon.md index f7d34b1b..98987ccf 100644 --- a/website/site/content/blog/2022-05-16_audio_file_addon.md +++ b/website/site/content/blog/2022-05-16_audio_file_addon.md @@ -50,9 +50,10 @@ functions. It's usually good to play around with the tools at first. For stt, we first need to download a *model*. This will be used to "detect" the -text in the audio data. They have a [page](https://coqui.ai/models) -where we can download model files for any supported language. For the -addon, we will implement English and German. +text in the audio data. They have a +[page](https://github.com/coqui-ai/STT-models/releases) where we can +download model files for any supported language. For the addon, we +will implement English and German. When creating a PDF with wkhtmltopdf, we prettify it a little by embedding the plain text into some html template. This will also take diff --git a/website/src/main/scala/docspell/website/FileMetaExample.scala b/website/src/main/scala/docspell/website/FileMetaExample.scala index 97afa865..460b4f19 100644 --- a/website/src/main/scala/docspell/website/FileMetaExample.scala +++ b/website/src/main/scala/docspell/website/FileMetaExample.scala @@ -15,7 +15,7 @@ object FileMetaExample extends Helper { language = Language.English.some, mimetype = MimeType.png, length = ByteSize(454654L), - checksum = ByteVector.fromValidHex("caffe0caffe").digest("sha256") + checksum = ByteVector.fromValidHex("caffe0caffe").digest("SHA-256") ) val example2 = AttachedFile( @@ -25,7 +25,7 @@ object FileMetaExample extends Helper { language = Language.English.some, mimetype = MimeType.pdf, length = ByteSize(1232214L), - checksum = ByteVector.fromValidHex("eff0eff0eff").digest("sha256") + checksum = ByteVector.fromValidHex("eff0eff0eff").digest("SHA-256") ) val example = List(