capradeepgujaran commited on
Commit
c3644eb
1 Parent(s): 3f1f36e

Update openai_tts_tool.py

Browse files
Files changed (1) hide show
  1. 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 the audio file path and the summary text
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 based on output option
47
  if output_option == "summary_text":
48
  return None, summary_text
49
  elif output_option == "audio":