Update src/bot.py
Browse files- src/bot.py +4 -1
src/bot.py
CHANGED
@@ -64,7 +64,10 @@ async def main(room_url, token=None):
|
|
64 |
# api_key=os.getenv("ELEVENLABS_API_KEY"),
|
65 |
# voice_id=os.getenv("ELEVENLABS_VOICE_ID"),
|
66 |
# )
|
67 |
-
|
|
|
|
|
|
|
68 |
|
69 |
|
70 |
fal_service_params = FalImageGenService.InputParams(
|
|
|
64 |
# api_key=os.getenv("ELEVENLABS_API_KEY"),
|
65 |
# voice_id=os.getenv("ELEVENLABS_VOICE_ID"),
|
66 |
# )
|
67 |
+
tts_service=OpenAITTSService(
|
68 |
+
api_key=os.getenv("TTS_API_KEY"),
|
69 |
+
base_url=os.getenv("TTS_URL"),
|
70 |
+
sample_rate=22050)
|
71 |
|
72 |
|
73 |
fal_service_params = FalImageGenService.InputParams(
|