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 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 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) text in the audio data. They have a
where we can download model files for any supported language. For the [page](https://github.com/coqui-ai/STT-models/releases) where we can
addon, we will implement English and German. 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 When creating a PDF with wkhtmltopdf, we prettify it a little by
embedding the plain text into some html template. This will also take 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, language = Language.English.some,
mimetype = MimeType.png, mimetype = MimeType.png,
length = ByteSize(454654L), length = ByteSize(454654L),
checksum = ByteVector.fromValidHex("caffe0caffe").digest("sha256") checksum = ByteVector.fromValidHex("caffe0caffe").digest("SHA-256")
) )
val example2 = AttachedFile( val example2 = AttachedFile(
@ -25,7 +25,7 @@ object FileMetaExample extends Helper {
language = Language.English.some, language = Language.English.some,
mimetype = MimeType.pdf, mimetype = MimeType.pdf,
length = ByteSize(1232214L), length = ByteSize(1232214L),
checksum = ByteVector.fromValidHex("eff0eff0eff").digest("sha256") checksum = ByteVector.fromValidHex("eff0eff0eff").digest("SHA-256")
) )
val example = List( val example = List(