ressay1973 commited on
Commit
6433992
·
verified ·
1 Parent(s): 8138702

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -68,10 +68,11 @@ def transcribe_audio(audio_path: str) -> str:
68
  final_answer = FinalAnswerTool()
69
 
70
  model = HfApiModel(
71
- max_tokens=1024,
72
  temperature=0.5,
73
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
74
  custom_role_conversions=None,
 
75
  )
76
 
77
  with open("prompts.yaml", 'r') as stream:
 
68
  final_answer = FinalAnswerTool()
69
 
70
  model = HfApiModel(
71
+ max_tokens=1024, # Reducimos para evitar límite de tokens
72
  temperature=0.5,
73
+ model_id='mistralai/Mistral-7B-Instruct', # Nuevo modelo recomendado
74
  custom_role_conversions=None,
75
+ )custom_role_conversions=None,
76
  )
77
 
78
  with open("prompts.yaml", 'r') as stream: