diff --git a/ai-hub/app/core/providers/tts/gemini.py b/ai-hub/app/core/providers/tts/gemini.py index 617c3df..11e8fbc 100644 --- a/ai-hub/app/core/providers/tts/gemini.py +++ b/ai-hub/app/core/providers/tts/gemini.py @@ -46,10 +46,6 @@ raw_model = "models/gemini-1.5-flash" model_id = raw_model.split("/")[-1] - - # Strip redundant '-tts' suffix if present (common typo) - if model_id.endswith("-tts"): - model_id = model_id[:-4] self.model_name = model_id