Skip to content

Commit

Permalink
Open Interpreter compatible --profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Jul 10, 2024
1 parent fda23e9 commit d13c0cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions software/source/server/async_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ async def main(server_host, server_port, profile, debug):
# Get the interpreter from the profile
interpreter = profile_module.interpreter

if not hasattr(interpreter, 'tts'):
print("Setting TTS provider to default: openai")
interpreter.tts = "openai"

# Make it async
interpreter = AsyncInterpreter(interpreter, debug)

Expand Down

0 comments on commit d13c0cf

Please sign in to comment.