mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Merge branch 'current-docs'
This commit is contained in:
@ -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
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user