dwani 0.1.21__tar.gz → 0.1.22__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dwani
3
- Version: 0.1.21
3
+ Version: 0.1.22
4
4
  Summary: Multimodal API for Indian + European languages (Chat, Vision, TTS, ASR, Translate, Docs)
5
5
  Author-email: sachin <python@dwani.ai>
6
6
  License: MIT License
@@ -10,7 +10,14 @@ logger = logging.getLogger(__name__)
10
10
  language_options = [
11
11
  ("English", "eng_Latn"),
12
12
  ("Kannada", "kan_Knda"),
13
- ("Hindi", "hin_Deva"),
13
+ ("Hindi", "hin_Deva"),
14
+ ("Assamese", "asm_Beng"),
15
+ ("Bengali", "ben_Beng"),
16
+ ("Gujarati", "guj_Gujr"),
17
+ ("Malayalam", "mal_Mlym"),
18
+ ("Marathi", "mar_Deva"),
19
+ ("Odia", "ory_Orya"),
20
+ ("Punjabi", "pan_Guru"),
14
21
  ("Tamil", "tam_Taml"),
15
22
  ("Telugu", "tel_Telu"),
16
23
  ("German", "deu_Latn")
@@ -53,6 +60,8 @@ def document_ocr_all(client, file_path, model="gemma3"):
53
60
  try:
54
61
  resp = requests.post(
55
62
  f"{client.api_base}/v1/extract-text-all",
63
+ #TODO - test -chunk
64
+ # f"{client.api_base}/v1/extract-text-all-chunk",
56
65
  headers=client._headers(),
57
66
  files=files,
58
67
  data=data,
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  name = "dwani"
7
7
 
8
- version = "0.1.21"
8
+ version = "0.1.22"
9
9
  description = "Multimodal API for Indian + European languages (Chat, Vision, TTS, ASR, Translate, Docs)"
10
10
  authors = [
11
11
  { name="sachin", email="python@dwani.ai" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes