-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5300544
commit b21ccc1
Showing
1 changed file
with
21 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,22 @@ | ||
# pdf2audiobook | ||
pdf2audiobook | ||
|
||
See this [video](https://www.youtube.com/watch?v=_JVRew5zXBQ) for learning how the tool works. | ||
|
||
## pdf2audiobook training process | ||
|
||
1. Create a training data as CSV file | ||
2. Train a AutoML Tables model | ||
3. use pdf2audiobook for generating mp3 files | ||
|
||
## pdf2audiobook usage | ||
|
||
Register the code with Cloud Functions the following command. You need to create the bucket beforehand as a workspace for pdf2audiobook. | ||
|
||
`gcloud functions deploy p2a_gcs_trigger --runtime python37 --trigger-bucket <bucket> --memory=2048MB --timeout=540` | ||
|
||
## Annotation | ||
|
||
- Annotation mode usage: to use pdf2audiobook for generating annotation data, set `ANNOTATION_MODE = True` and re-register the code with Cloud Funtions, so the tool will generate CSV files for annotation instead of mp3 files. | ||
|
||
- Annotation tool: use /apps-script code for running the annotation tool with Google Apps Script | ||
|