AlbertoFH98 commited on
Commit
1685ddb
1 Parent(s): ee2f2da

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -74,7 +74,7 @@ class TogetherLLM(LLM):
74
  ) -> str:
75
  """Call to Together endpoint."""
76
  regex_transcription = r'CONTEXTO:(\n.*)+PREGUNTA'
77
- regex_init_transcription = r"Desde el instante [0-9]+:[0-9]+:[0-9]+(?:\.[0-9]+)? hasta [0-9]+:[0-9]+:[0-9]+(?:\.[0-9]+)? [a-zA-Z ]+ dice: ?"
78
 
79
  # -- Extract transcription
80
  together.api_key = self.together_api_key
 
74
  ) -> str:
75
  """Call to Together endpoint."""
76
  regex_transcription = r'CONTEXTO:(\n.*)+PREGUNTA'
77
+ regex_init_transcription = r"Desde el instante [0-9]+:[0-9]+:[0-9]+(?:\.[0-9]+)? hasta [0-9]+:[0-9]+:[0-9]+(?:\.[0-9]+)? [a-zA-Záéíóú ]+ dice: ?"
78
 
79
  # -- Extract transcription
80
  together.api_key = self.together_api_key