Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -456,7 +456,7 @@ from tenacity import retry, retry_if_exception_type
|
|
456 |
|
457 |
# Define standard values
|
458 |
STANDARD_TEXT_MODELS = [
|
459 |
-
"o1",
|
460 |
"o1-preview-2024-09-12",
|
461 |
"o1-preview",
|
462 |
"gpt-4o-2024-08-06",
|
@@ -526,7 +526,7 @@ def conditional_llm(model, api_base=None, api_key=None):
|
|
526 |
def generate_audio(
|
527 |
files: list,
|
528 |
openai_api_key: str = None,
|
529 |
-
text_model: str = "o1", #"o1-preview-2024-09-12",
|
530 |
audio_model: str = "tts-1",
|
531 |
speaker_1_voice: str = "alloy",
|
532 |
speaker_2_voice: str = "echo",
|
|
|
456 |
|
457 |
# Define standard values
|
458 |
STANDARD_TEXT_MODELS = [
|
459 |
+
"o1-2024-12-17",
|
460 |
"o1-preview-2024-09-12",
|
461 |
"o1-preview",
|
462 |
"gpt-4o-2024-08-06",
|
|
|
526 |
def generate_audio(
|
527 |
files: list,
|
528 |
openai_api_key: str = None,
|
529 |
+
text_model: str = "o1-2024-12-17", #"o1-preview-2024-09-12",
|
530 |
audio_model: str = "tts-1",
|
531 |
speaker_1_voice: str = "alloy",
|
532 |
speaker_2_voice: str = "echo",
|