generated from MuckRock/documentcloud-hello-world-addon
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set requirements, formatted config, README
- Loading branch information
1 parent
24eb87b
commit b53734f
Showing
4 changed files
with
7 additions
and
124 deletions.
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
This file was deleted.
Oops, something went wrong.
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,26 +1,10 @@ | ||
# The title is the title of your Add-On | ||
title: Hello World | ||
# The description will be shown above the form when activating the Add-On | ||
description: This is an updated simple test add-on | ||
# Top level type should always be object | ||
title: docTR OCR Add-On | ||
description: An Add-On that uses the open source [docTR](https://github.com/mindee/doctr) to OCR your documents. | ||
type: object | ||
# How does this add-on accept documents | ||
# If more than one type is specified, the user will be prompted to choose one | ||
documents: | ||
# By the current search query | ||
- query | ||
# By the currently selected documents | ||
- selected | ||
# Properties are the fields for your form | ||
properties: | ||
# the key is the name of the variable that will be returned to your code | ||
name: | ||
# the title is what will be shown as the form label | ||
title: Name | ||
# a string is text | ||
type: string | ||
# Categories are what type of Add-On this is. Used to sort the Add-On in the Add-On menu. | ||
properties: [] | ||
categories: | ||
- file | ||
- extraction | ||
# Acceptable categories are premium, ai, export, bulk, file, monitor, statistical, and extraction. | ||
# You can read more about DocumentCloud Add-On categories here: https://www.documentcloud.org/help/add-ons#types-of-add-ons |
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,3 @@ | ||
python-documentcloud==3.6.0 | ||
requests | ||
python-doctr[torch] |