Marco Acierno commited on
Commit ·
190e978
1
Parent(s): 2b62b02
env
Browse files- client/src/main.py +2 -1
client/src/main.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import httpx
|
| 2 |
from queue import Queue
|
| 3 |
import logging
|
|
@@ -11,7 +12,7 @@ from audio_utils import get_microphone, get_speech_recognizer, get_all_audio_que
|
|
| 11 |
|
| 12 |
logger = logging.getLogger(__name__)
|
| 13 |
|
| 14 |
-
TRANSCRIBING_SERVER = "http://localhost:3535/transcribe"
|
| 15 |
|
| 16 |
|
| 17 |
def main():
|
|
|
|
| 1 |
+
import os
|
| 2 |
import httpx
|
| 3 |
from queue import Queue
|
| 4 |
import logging
|
|
|
|
| 12 |
|
| 13 |
logger = logging.getLogger(__name__)
|
| 14 |
|
| 15 |
+
TRANSCRIBING_SERVER = os.getenv('TRANSCRIBING_SERVER', "http://localhost:3535/transcribe")
|
| 16 |
|
| 17 |
|
| 18 |
def main():
|