-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Models now generated from entrypoints. Language codes are more customizable using a dict map. * Updated changelog for v0.2.1 * Improved doc for plugins * Trim unused code * Bump version number * Added python3.11 to classifiers * Fixed link
- Loading branch information
Showing
12 changed files
with
327 additions
and
125 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 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 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 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
40 changes: 40 additions & 0 deletions
40
...translate/migrations/0009_remove_language_easyocr_remove_language_facebookm2m_and_more.py
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Generated by Django 4.2.4 on 2023-09-20 11:37 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('ocr_translate', '0008_ocrboxmodel_entrypoint_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='language', | ||
name='easyocr', | ||
), | ||
migrations.RemoveField( | ||
model_name='language', | ||
name='facebookM2M', | ||
), | ||
migrations.RemoveField( | ||
model_name='language', | ||
name='tesseract', | ||
), | ||
migrations.AddField( | ||
model_name='ocrboxmodel', | ||
name='iso1_map', | ||
field=models.JSONField(null=True), | ||
), | ||
migrations.AddField( | ||
model_name='ocrmodel', | ||
name='iso1_map', | ||
field=models.JSONField(null=True), | ||
), | ||
migrations.AddField( | ||
model_name='tslmodel', | ||
name='iso1_map', | ||
field=models.JSONField(null=True), | ||
), | ||
] |
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 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.
Oops, something went wrong.