dwani 0.1.1__tar.gz → 0.1.2__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.
- {dwani-0.1.1/src/dwani.egg-info → dwani-0.1.2}/PKG-INFO +1 -6
- {dwani-0.1.1/src → dwani-0.1.2/dwani}/asr.py +4 -1
- {dwani-0.1.1/src → dwani-0.1.2/dwani}/audio.py +1 -1
- {dwani-0.1.1/src → dwani-0.1.2/dwani}/chat.py +1 -1
- {dwani-0.1.1/src → dwani-0.1.2/dwani}/client.py +2 -1
- {dwani-0.1.1/src → dwani-0.1.2/dwani}/vision.py +1 -1
- {dwani-0.1.1 → dwani-0.1.2/dwani.egg-info}/PKG-INFO +1 -6
- dwani-0.1.2/dwani.egg-info/SOURCES.txt +16 -0
- dwani-0.1.2/dwani.egg-info/requires.txt +1 -0
- dwani-0.1.2/dwani.egg-info/top_level.txt +1 -0
- {dwani-0.1.1 → dwani-0.1.2}/pyproject.toml +1 -6
- dwani-0.1.1/src/dwani.egg-info/SOURCES.txt +0 -16
- dwani-0.1.1/src/dwani.egg-info/requires.txt +0 -6
- dwani-0.1.1/src/dwani.egg-info/top_level.txt +0 -8
- {dwani-0.1.1 → dwani-0.1.2}/LICENSE +0 -0
- {dwani-0.1.1 → dwani-0.1.2}/README.md +0 -0
- {dwani-0.1.1/src → dwani-0.1.2/dwani}/__init__.py +0 -0
- {dwani-0.1.1/src → dwani-0.1.2/dwani}/docs.py +0 -0
- {dwani-0.1.1/src → dwani-0.1.2/dwani}/exceptions.py +0 -0
- {dwani-0.1.1/src → dwani-0.1.2}/dwani.egg-info/dependency_links.txt +0 -0
- {dwani-0.1.1 → dwani-0.1.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: dwani
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.2
|
4
4
|
Summary: Multimodal AI server for Indian languages (speech, vision, LLMs, TTS, ASR, etc.)
|
5
5
|
Author-email: sachin <python@dwani.ai>
|
6
6
|
License: MIT License
|
@@ -31,12 +31,7 @@ Project-URL: Issues, https://github.com/dwani-ai/dwani-server/issues
|
|
31
31
|
Requires-Python: >=3.10
|
32
32
|
Description-Content-Type: text/markdown
|
33
33
|
License-File: LICENSE
|
34
|
-
Requires-Dist: fastapi>=0.95.0
|
35
|
-
Requires-Dist: uvicorn[standard]>=0.22.0
|
36
|
-
Requires-Dist: pydantic>=2.0.0
|
37
34
|
Requires-Dist: requests>=2.25.0
|
38
|
-
Requires-Dist: python-multipart>=0.0.5
|
39
|
-
Requires-Dist: pydantic-settings>=2.0.0
|
40
35
|
Dynamic: license-file
|
41
36
|
|
42
37
|
# Dhwani Server
|
@@ -1,5 +1,5 @@
|
|
1
1
|
from .exceptions import DhwaniAPIError
|
2
|
-
|
2
|
+
import requests
|
3
3
|
def asr_transcribe(client, file_path, language):
|
4
4
|
with open(file_path, "rb") as f:
|
5
5
|
files = {"file": f}
|
@@ -18,6 +18,8 @@ class ASR:
|
|
18
18
|
from . import _get_client
|
19
19
|
return _get_client().transcribe(*args, **kwargs)
|
20
20
|
|
21
|
+
|
22
|
+
'''
|
21
23
|
from .docs import Documents
|
22
24
|
|
23
25
|
class documents:
|
@@ -32,3 +34,4 @@ class documents:
|
|
32
34
|
@staticmethod
|
33
35
|
def summarize(file_path, language=None):
|
34
36
|
return _get_client().document_summarize(file_path, language)
|
37
|
+
'''
|
@@ -5,7 +5,8 @@ from .exceptions import DhwaniAPIError
|
|
5
5
|
class DhwaniClient:
|
6
6
|
def __init__(self, api_key=None, api_base=None):
|
7
7
|
self.api_key = api_key or os.getenv("DHWANI_API_KEY")
|
8
|
-
self.api_base =
|
8
|
+
self.api_base = "https://dwani-dwani-server-workshop.hf.space"
|
9
|
+
#self.api_base = api_base or os.getenv("DHWANI_API_BASE", "http://localhost:7860")
|
9
10
|
if not self.api_key:
|
10
11
|
raise ValueError("DHWANI_API_KEY not set")
|
11
12
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: dwani
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.2
|
4
4
|
Summary: Multimodal AI server for Indian languages (speech, vision, LLMs, TTS, ASR, etc.)
|
5
5
|
Author-email: sachin <python@dwani.ai>
|
6
6
|
License: MIT License
|
@@ -31,12 +31,7 @@ Project-URL: Issues, https://github.com/dwani-ai/dwani-server/issues
|
|
31
31
|
Requires-Python: >=3.10
|
32
32
|
Description-Content-Type: text/markdown
|
33
33
|
License-File: LICENSE
|
34
|
-
Requires-Dist: fastapi>=0.95.0
|
35
|
-
Requires-Dist: uvicorn[standard]>=0.22.0
|
36
|
-
Requires-Dist: pydantic>=2.0.0
|
37
34
|
Requires-Dist: requests>=2.25.0
|
38
|
-
Requires-Dist: python-multipart>=0.0.5
|
39
|
-
Requires-Dist: pydantic-settings>=2.0.0
|
40
35
|
Dynamic: license-file
|
41
36
|
|
42
37
|
# Dhwani Server
|
@@ -0,0 +1,16 @@
|
|
1
|
+
LICENSE
|
2
|
+
README.md
|
3
|
+
pyproject.toml
|
4
|
+
dwani/__init__.py
|
5
|
+
dwani/asr.py
|
6
|
+
dwani/audio.py
|
7
|
+
dwani/chat.py
|
8
|
+
dwani/client.py
|
9
|
+
dwani/docs.py
|
10
|
+
dwani/exceptions.py
|
11
|
+
dwani/vision.py
|
12
|
+
dwani.egg-info/PKG-INFO
|
13
|
+
dwani.egg-info/SOURCES.txt
|
14
|
+
dwani.egg-info/dependency_links.txt
|
15
|
+
dwani.egg-info/requires.txt
|
16
|
+
dwani.egg-info/top_level.txt
|
@@ -0,0 +1 @@
|
|
1
|
+
requests>=2.25.0
|
@@ -0,0 +1 @@
|
|
1
|
+
dwani
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "dwani"
|
7
|
-
version = "0.1.
|
7
|
+
version = "0.1.2"
|
8
8
|
description = "Multimodal AI server for Indian languages (speech, vision, LLMs, TTS, ASR, etc.)"
|
9
9
|
authors = [
|
10
10
|
{ name="sachin", email="python@dwani.ai" }
|
@@ -14,12 +14,7 @@ license = { file = "LICENSE" }
|
|
14
14
|
requires-python = ">=3.10"
|
15
15
|
|
16
16
|
dependencies = [
|
17
|
-
"fastapi>=0.95.0",
|
18
|
-
"uvicorn[standard]>=0.22.0",
|
19
|
-
"pydantic>=2.0.0",
|
20
17
|
"requests>=2.25.0",
|
21
|
-
"python-multipart>=0.0.5",
|
22
|
-
"pydantic-settings>=2.0.0"
|
23
18
|
]
|
24
19
|
|
25
20
|
[project.urls]
|
@@ -1,16 +0,0 @@
|
|
1
|
-
LICENSE
|
2
|
-
README.md
|
3
|
-
pyproject.toml
|
4
|
-
src/__init__.py
|
5
|
-
src/asr.py
|
6
|
-
src/audio.py
|
7
|
-
src/chat.py
|
8
|
-
src/client.py
|
9
|
-
src/docs.py
|
10
|
-
src/exceptions.py
|
11
|
-
src/vision.py
|
12
|
-
src/dwani.egg-info/PKG-INFO
|
13
|
-
src/dwani.egg-info/SOURCES.txt
|
14
|
-
src/dwani.egg-info/dependency_links.txt
|
15
|
-
src/dwani.egg-info/requires.txt
|
16
|
-
src/dwani.egg-info/top_level.txt
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|