0x07CB commited on
Commit
709c374
·
unverified ·
1 Parent(s): e5510c7

Reformatage de la signature de la fonction transcribe_audio pour améliorer la lisibilité

Browse files
Files changed (1) hide show
  1. core/speech_to_text.py +4 -1
core/speech_to_text.py CHANGED
@@ -57,7 +57,10 @@ def huggingface_endpoints_stt(fichier_audio: str) -> str:
57
  # ############################################################
58
 
59
 
60
- def transcribe_audio(filepath: Union[str, IO], language: Optional[str] = None) -> str:
 
 
 
61
  """
62
  Transcrit un fichier audio temporaire en texte.
63
 
 
57
  # ############################################################
58
 
59
 
60
+ def transcribe_audio(
61
+ filepath: Union[str, IO],
62
+ language: Optional[str] = None
63
+ ) -> str:
64
  """
65
  Transcrit un fichier audio temporaire en texte.
66