notescriber/notescriber.py

17 lines
550 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python
2024-02-16 21:35:01 +00:00
import notescriber
import logging
if __name__ == '__main__':
2024-02-16 21:35:01 +00:00
config = notescriber.config.Config()
config.load_config(".config.yaml")
dispatcher = notescriber.dispatcher.Dispatcher()
notetaker = notescriber.notetaker.Notetaker(config.username,config.password, config.url)
picker = notescriber.picker.Picker(config.path, dispatcher)
transcriber = notescriber.transcriber.Transcriber()
2024-02-16 21:35:01 +00:00
dispatcher.add_note_generator(notetaker)
dispatcher.add_audio_processor(transcriber)
2024-02-16 13:37:01 +00:00
picker.observe()