Skip to content

Commit

Permalink
Merge pull request #68 from fractalego/llm-webserving
Browse files Browse the repository at this point in the history
solved dependencies issues
  • Loading branch information
fractalego authored Nov 25, 2023
2 parents a9679db + 4cdeb1b commit be8b195
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 67 deletions.
54 changes: 0 additions & 54 deletions wafl/events/generated_events.py

This file was deleted.

14 changes: 1 addition & 13 deletions wafl/runners/run_from_audio.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from wafl.config import Configuration
from wafl.events.conversation_events import ConversationEvents
from wafl.events.events_from_module_name import EventsCreatorFromModuleName
from wafl.events.generated_events import GeneratedEvents
from wafl.interface.voice_interface import VoiceInterface
from wafl.knowledge.single_file_knowledge import SingleFileKnowledge
from wafl.logger.local_file_logger import LocalFileLogger
Expand Down Expand Up @@ -31,18 +30,7 @@ def run_from_audio():
_logger,
activation_word=config.get_value("waking_up_word"),
)
generated_events = GeneratedEvents(
config,
knowledge,
events=EventsCreatorFromModuleName("events"),
interface=interface,
)
events_loop = GeneratedEventLoop(
interface,
generated_events,
logger=_logger,
)
scheduler = Scheduler([conversation_loop, events_loop])
scheduler = Scheduler([conversation_loop])
scheduler.run()


Expand Down

0 comments on commit be8b195

Please sign in to comment.