mrfakename commited on
Commit
c8eead4
·
verified ·
1 Parent(s): a0c2276

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -83,6 +83,8 @@ def generate_speech(emotion, text):
83
  if not text or not text.strip():
84
  return None, "Please enter text to convert to speech."
85
 
 
 
86
  try:
87
  # Create temporary file for output
88
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as tmp_file:
 
83
  if not text or not text.strip():
84
  return None, "Please enter text to convert to speech."
85
 
86
+ print("Generating:", text)
87
+ print("With emotion:", emotion)
88
  try:
89
  # Create temporary file for output
90
  with tempfile.NamedTemporaryFile(delete=False, suffix=".wav") as tmp_file: