diff --git a/recipes/LipsyncTTS.py b/recipes/LipsyncTTS.py index 1fc0f6c64..4c16261ae 100644 --- a/recipes/LipsyncTTS.py +++ b/recipes/LipsyncTTS.py @@ -4,6 +4,7 @@ import gooey_ui as st from bots.models import Workflow +from daras_ai_v2.text_to_speech_settings_widgets import text_to_speech_provider_selector from recipes.Lipsync import LipsyncPage from recipes.TextToSpeech import TextToSpeechPage, TextToSpeechProviders from daras_ai_v2.safety_checker import safety_checker @@ -86,6 +87,7 @@ def render_form_v2(self): """, key="text_prompt", ) + text_to_speech_provider_selector(self) def validate_form_v2(self): assert st.session_state.get( diff --git a/recipes/VideoBots.py b/recipes/VideoBots.py index dabb6bf33..c0a0eea89 100644 --- a/recipes/VideoBots.py +++ b/recipes/VideoBots.py @@ -645,10 +645,12 @@ def additional_notes(self): tts_provider = st.session_state.get("tts_provider") match tts_provider: case TextToSpeechProviders.ELEVEN_LABS.name: - return f""" - - *Base cost = {super().get_raw_price(st.session_state)} credits* - - *Additional {TextToSpeechPage().additional_notes()}* - """ + return ( + f" \\\n" + f"*Base cost = {super().get_raw_price(st.session_state)} credits*" + f" | " + f"*Additional {TextToSpeechPage().get_cost_note()}*" + ) case _: return ""