11 lines
351 B
Python
11 lines
351 B
Python
from app.core.openai_voice_transcription_client import generate_voice, generate_transcription
|
|
|
|
async def generate_voice(text: str) -> str:
|
|
voice = await generate_voice(text)
|
|
return voice
|
|
|
|
async def generate_transcription(audio_file_path: str) -> str:
|
|
transcription = await generate_transcription(audio_file_path)
|
|
return transcription
|
|
|