Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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
|