Humelo: DIVE API Response Field명 변경

#2
by itsowavy - opened
Files changed (1) hide show
  1. tts.py +1 -1
tts.py CHANGED
@@ -432,7 +432,7 @@ def predict_humelo_tts(text: str, voice: str = "나나", emotion: str = "neutral
432
  response.raise_for_status()
433
 
434
  data = response.json()
435
- audio_url = data.get("audio_url")
436
 
437
  if not audio_url:
438
  raise ValueError("Humelo API가 오디오 URL을 반환하지 않았습니다.")
 
432
  response.raise_for_status()
433
 
434
  data = response.json()
435
+ audio_url = data.get("audioUrl")
436
 
437
  if not audio_url:
438
  raise ValueError("Humelo API가 오디오 URL을 반환하지 않았습니다.")