Merge branch 'current-docs'

This commit is contained in:
eikek
2023-04-05 20:21:59 +02:00
2 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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(