Spaces:
Running
Running
capradeepgujaran
commited on
Commit
•
3be3378
1
Parent(s):
ae25925
Update openai_tts_tool.py
Browse files- openai_tts_tool.py +1 -1
openai_tts_tool.py
CHANGED
@@ -43,7 +43,7 @@ def generate_audio_and_text(api_key, input_text, model_name, voice_type, voice_s
|
|
43 |
|
44 |
audio_file = audio_path
|
45 |
|
46 |
-
# Return
|
47 |
if output_option == "summary_text":
|
48 |
return None, summary_text
|
49 |
elif output_option == "audio":
|
|
|
43 |
|
44 |
audio_file = audio_path
|
45 |
|
46 |
+
# Return the audio file path and the summary text
|
47 |
if output_option == "summary_text":
|
48 |
return None, summary_text
|
49 |
elif output_option == "audio":
|