AIPeterWorld commited on
Commit
12bf62a
1 Parent(s): 2312bda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,7 +33,7 @@ genai.configure(api_key=os.getenv('GENAI_API_KEY'))
33
 
34
  # Configuración de constantes globales
35
  GENERATION_CONFIG = {
36
- "temperature": 0.2,
37
  "top_p": 0.95,
38
  "top_k": 64,
39
  "max_output_tokens": 8000,
@@ -141,7 +141,7 @@ async def generate_and_combine_audio_files(df_interview, output_dir, base_name):
141
  combined += audio
142
 
143
  combined_file_path = output_dir / f"{base_name}.mp3"
144
- combined.export(combined_file_path, format="mp3", bitrate="128k")
145
  logging.info(f"Archivo de audio combinado guardado en {combined_file_path}")
146
 
147
  return combined_file_path
 
33
 
34
  # Configuración de constantes globales
35
  GENERATION_CONFIG = {
36
+ "temperature": 0.1,
37
  "top_p": 0.95,
38
  "top_k": 64,
39
  "max_output_tokens": 8000,
 
141
  combined += audio
142
 
143
  combined_file_path = output_dir / f"{base_name}.mp3"
144
+ combined.export(combined_file_path, format="mp3", bitrate="256k")
145
  logging.info(f"Archivo de audio combinado guardado en {combined_file_path}")
146
 
147
  return combined_file_path