- client/src/main.py +1 -0
client/src/main.py
CHANGED
|
@@ -79,6 +79,7 @@ def main(transcriptions_queue):
|
|
| 79 |
start = time.time()
|
| 80 |
print('start req')
|
| 81 |
response = httpx.post(TRANSCRIBING_SERVER, data=serialized)
|
|
|
|
| 82 |
transcription = response.json()['transcribe']
|
| 83 |
print('req done', response.text, response.status_code, time.time() - start)
|
| 84 |
transcriptions_queue.put(transcription)
|
|
|
|
| 79 |
start = time.time()
|
| 80 |
print('start req')
|
| 81 |
response = httpx.post(TRANSCRIBING_SERVER, data=serialized)
|
| 82 |
+
print('req status', response.status_code)
|
| 83 |
transcription = response.json()['transcribe']
|
| 84 |
print('req done', response.text, response.status_code, time.time() - start)
|
| 85 |
transcriptions_queue.put(transcription)
|