most-client 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl
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.
- most/__pycache__/__init__.cpython-310.pyc +0 -0
- most/__pycache__/api.cpython-310.pyc +0 -0
- most/api.py +2 -2
- {most_client-1.0.0.dist-info → most_client-1.0.1.dist-info}/METADATA +1 -1
- most_client-1.0.1.dist-info/RECORD +11 -0
- most_client-1.0.0.dist-info/RECORD +0 -11
- {most_client-1.0.0.dist-info → most_client-1.0.1.dist-info}/WHEEL +0 -0
- {most_client-1.0.0.dist-info → most_client-1.0.1.dist-info}/top_level.txt +0 -0
- {most_client-1.0.0.dist-info → most_client-1.0.1.dist-info}/zip-safe +0 -0
Binary file
|
Binary file
|
most/api.py
CHANGED
@@ -139,11 +139,11 @@ class MostClient(object):
|
|
139
139
|
raise NotImplementedError()
|
140
140
|
|
141
141
|
def fetch_results(self, audio_id) -> Result:
|
142
|
-
resp = self.
|
142
|
+
resp = self.get(f"https://api.the-most.ai/api/external/{self.client_id}/audio/{audio_id}/model/{self.model_id}/results")
|
143
143
|
return self.retort.load(resp.json(), Result)
|
144
144
|
|
145
145
|
def fetch_text(self, audio_id) -> Result:
|
146
|
-
resp = self.
|
146
|
+
resp = self.get(f"https://api.the-most.ai/api/external/{self.client_id}/audio/{audio_id}/model/{self.model_id}/text")
|
147
147
|
return self.retort.load(resp.json(), Result)
|
148
148
|
|
149
149
|
def __call__(self, audio_path: Path):
|
@@ -0,0 +1,11 @@
|
|
1
|
+
most/__init__.py,sha256=zfyI5dry-rsHP2Rr9YuPPo_fNFUtguZPAt-mbxDQ57I,28
|
2
|
+
most/api.py,sha256=31uEaydLcJzDb4n8z0_NH-BkdM_79_2BqttedM51ffY,5676
|
3
|
+
most/types.py,sha256=DtuMK8TgdjTDXYVtakqEN1ZLH6v1z_LR1jWya9CyCqI,428
|
4
|
+
most/__pycache__/__init__.cpython-310.pyc,sha256=5RlgyJsgWSNkWEufVPFWDKxat0cEMCdwD8QFz5FvIj8,193
|
5
|
+
most/__pycache__/api.cpython-310.pyc,sha256=LCury8Ch-FweUI4d91F_tVWRHWfJbFE_Jv0sLjWye5I,5473
|
6
|
+
most/__pycache__/types.cpython-310.pyc,sha256=gwNy34k4XAZ8en1VT3S3QbJOoRuqAeUZEBJjgzSEpIg,1131
|
7
|
+
most_client-1.0.1.dist-info/METADATA,sha256=qNNyQ0GvZAzPnADLWAEOMIECtrbYvu7uMnsQqgmmOb8,843
|
8
|
+
most_client-1.0.1.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
9
|
+
most_client-1.0.1.dist-info/top_level.txt,sha256=2g5fk02LKkM1hV3pVVti_LQ60TToLBcR2zQ3JEKGVk8,5
|
10
|
+
most_client-1.0.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
11
|
+
most_client-1.0.1.dist-info/RECORD,,
|
@@ -1,11 +0,0 @@
|
|
1
|
-
most/__init__.py,sha256=zfyI5dry-rsHP2Rr9YuPPo_fNFUtguZPAt-mbxDQ57I,28
|
2
|
-
most/api.py,sha256=XUkhHtDUmE2aPM4pBtxePiHlYOfkr94Lt_ablddk2pw,5678
|
3
|
-
most/types.py,sha256=DtuMK8TgdjTDXYVtakqEN1ZLH6v1z_LR1jWya9CyCqI,428
|
4
|
-
most/__pycache__/__init__.cpython-310.pyc,sha256=XaR2imVldQ5SeAZZVkYYJ6DxDXnSAdbt5h5VXh8yqB8,142
|
5
|
-
most/__pycache__/api.cpython-310.pyc,sha256=YRvQJLdHA8FseBFvlZnsQtRNB0rV6Gjqz1sQdG9O70E,5292
|
6
|
-
most/__pycache__/types.cpython-310.pyc,sha256=gwNy34k4XAZ8en1VT3S3QbJOoRuqAeUZEBJjgzSEpIg,1131
|
7
|
-
most_client-1.0.0.dist-info/METADATA,sha256=ix_NTtXNoY7ZuFa7sX24txcPkU6xdqnnJogG01W9vtI,843
|
8
|
-
most_client-1.0.0.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
9
|
-
most_client-1.0.0.dist-info/top_level.txt,sha256=2g5fk02LKkM1hV3pVVti_LQ60TToLBcR2zQ3JEKGVk8,5
|
10
|
-
most_client-1.0.0.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
11
|
-
most_client-1.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|