lanpip / test /bot_test.py
Parechan's picture
Upload 35 files
0c84ee8 verified
raw
history blame contribute delete
522 Bytes
from bots import classify, feedback, vocab, assessment, speaking
# print(feedback.transcribe_handwriting('https://media.cnn.com/api/v1/images/stellar/prod/160122124623-01-national-handwriting-day.jpg?q=w_3264,h_1836,x_0,y_0,c_fill'))
# print(vocab.vocab_chat_with_model('hello', 'gpt-4'))
# print(assessment.chat_assessment_with_model('hello', 'gpt-4'))
# speaking.convert_to_mp3('sample.mp3', 'output.mp3')
# print(speaking.transcribe_audio('output.mp3'))
# speaking.text_to_speech('hello, world!', 'text2speech.mp3')