Arnavkumar01 commited on
Commit
b85911f
·
1 Parent(s): 53354e8

added log info for the AI response sent to Elevenlabs

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -321,6 +321,8 @@ async def process_audio(audio_path):
321
 
322
  logging.info(f"AI: {agent_response[:100]}...")
323
 
 
 
324
  # ---- 4. TEXT-TO-SPEECH ------------------------------------------------
325
  ai_audio_bytes = await run_in_threadpool(generate_elevenlabs_sync, agent_response)
326
  if not ai_audio_bytes:
 
321
 
322
  logging.info(f"AI: {agent_response[:100]}...")
323
 
324
+ logging.info(f"FULL AI Response sent to ElevenLabs: >>>{agent_response}<<<")
325
+
326
  # ---- 4. TEXT-TO-SPEECH ------------------------------------------------
327
  ai_audio_bytes = await run_in_threadpool(generate_elevenlabs_sync, agent_response)
328
  if not ai_audio_bytes: