small-cactus / M.I.L.E.S

M.I.L.E.S, a GPT-4-Turbo voice assistant, self-adapts its prompts and AI model, can play any Spotify song, adjusts system and Spotify volume, performs calculations, browses the web and internet, searches global weather, delivers date and time, autonomously chooses and retains long-term memories. Available for macOS and Windows.
https://github.com/small-cactus/M.I.L.E.S
MIT License
158 stars 23 forks source link

Sound issue #30

Open b3ta1911 opened 1 week ago

b3ta1911 commented 1 week ago

Hi again,

I have tried this on my PC. I had some better luck but the i cant get the voice to work. I followed all your steps.

image image image image

image

But it still don't work. Do you have any suggestions?

small-cactus commented 1 week ago

Try setting the mic as the default communications device rather than the default device. It should let you right click and set both.

does it say anything in terminal? Or do you have a thick accent? The name is pronounced my-els

b3ta1911 commented 1 week ago

haha, nah my accent is just fine. I had a lot of issues with Miles on PC. I got it to work twice but as soon as miles responded the program crashed. And after a restart it started complaining for the modules.

Server started on http://localhost:3000 API keys are set, starting server and backend... Server is already running on port 3000 Python Error: C:\Miles-env\M.I.L.E.S\Miles-V2\main.py:1: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 from cgi import print_directory

Python Error: Traceback (most recent call last): File "C:\Miles-env\M.I.L.E.S\Miles-V2\main.py", line 7, in import openai ModuleNotFoundError: No module named 'openai'

Python script exited with code: 1

But even on my Mac, I had some problems with ffmpeg or avconv error but got that solved. Still Miles is not responding. And i check the sound settings in midi too. Its very strange.

I chose both default communications device and default device

small-cactus commented 1 week ago

Do you have a lot of noise in your room? Sometimes, things like air conditioning can permanently cause miles to be stuck in a state of listening. Sometimes it can also prevent the wake word from being used. For dependancies, you might just have to create a new venv and reinstall each module one by one, it’s what I have to do sometimes.

b3ta1911 commented 1 week ago

I managed to get it working on the Mac, No, no sound in the room at all. But you were right, Miles was stuck. I never figured out why, but a reboot solved it. Thank you for the assistance.