Skip to content

Commit

Permalink
Update whisperXapi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Huanshere committed Sep 11, 2024
1 parent da312cb commit 304f3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/all_whisper_methods/whisperXapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def transcribe_audio(audio_base64: str) -> Dict:
)
return output
except Exception as e:
raise Exception(f"Error accessing whisperX API: {e} \n Cuda errors are caused by issues with the official API's server instance. Please wait for five minutes to allow the official server to switch, then try again.")
raise Exception(f"Error accessing whisperX API: {e} Please check your Replicate API key and internet connection.\n")

def process_transcription(result: Dict) -> pd.DataFrame:
all_words = []
Expand Down

0 comments on commit 304f3d7

Please sign in to comment.