Update openai_requests.py
Browse files- openai_requests.py +1 -1
openai_requests.py
CHANGED
@@ -32,7 +32,7 @@ def get_completion_from_openai(prompt, max_tokens = None):
|
|
32 |
return "Произошла ошибка"
|
33 |
|
34 |
def process_transcribation_with_assistant(prompt, transcript):
|
35 |
-
|
36 |
|
37 |
headers = {
|
38 |
"Content-Type": "application/json",
|
|
|
32 |
return "Произошла ошибка"
|
33 |
|
34 |
def process_transcribation_with_assistant(prompt, transcript):
|
35 |
+
baseUrl = os.getenv('OPENAI_BASE_URL')
|
36 |
|
37 |
headers = {
|
38 |
"Content-Type": "application/json",
|