umertayyeb commited on
Commit
2459ab5
·
verified ·
1 Parent(s): 885aec7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -29,9 +29,7 @@ def generate_tts_audio(text_input, audio_prompt_url, exaggeration_input, tempera
29
  )
30
  print("API Result:", result)
31
  return result
32
- else:
33
- print("No valid audio generated.")
34
- return None # Or return "No valid audio generated."
35
  except Exception as e:
36
  print(f"An error occurred: {e}")
37
  return None
 
29
  )
30
  print("API Result:", result)
31
  return result
32
+
 
 
33
  except Exception as e:
34
  print(f"An error occurred: {e}")
35
  return None