-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request:please add voice in/out #4
Comments
The web ui is under development, try this branch if you want voice I'm trying hard to replicate cute voice, but online services require payment or api and OS based voice is kinda feels off. So trying to learn alternative ways now. And as for the sweet talk part, i just jumped of from python based kivy to server based (self made) web ui. So there are tons of ground work needs to be done before adding more commands, so things getting a bit slow Sorry |
@develperbayman if you know any website that let users produce voice wav files via api (free) that would be a life saving help 🛐🙇♂️ |
@develperbayman could you check if there's any voice in https://www.voicerss.org/api/demo.aspx |
wow i totally did not realize you replied its prob a little late (my apologies i havent been very active for a bit) but perhaps you would be more interested in a tts engine and a stt engine to accomplish this i am using one for python for my AI script im trying to do take a peek |
import` threading doListenToCommand = True List with common departures to end the while loopdespedida = ["Goodbye", "goodbye", "bye", "Bye", "See you later", "see you later"] Create the GUI windowwindow = tk.Tk() Create the text entry boxtext_entry = tk.Entry(window, width=50) Create the submit buttonsubmit_button = tk.Button(window, text="Submit", command=lambda: submit()) Create the text output boxtext_output = tk.Text(window, height=300, width=300) Set your OpenAI API key hereopenai.api_key = "your_api_key_here" def submit(event=None, text_input=None):
Bind the Enter key to the submit functionwindow.bind("", submit) def load_core_principles(file_path): def listen_to_command():
def on_closing(): window.protocol("WM_DELETE_WINDOW", on_closing) if name == "main":
|
i hate markup it never works for me but yeah it generates the mp3 automatically this example uses openai |
import subprocess def process_commands(passed_commands, command):
def process_commands(passed_commands, command):
|
again sorry for the very late reply but this should get you started please let me know if it helps or if you do anything cool with it |
next im working on a huggingface transformers version to self host your own model but dear god the hardware needed for that is insane |
thats why i dropped all the hopes of running AI just for TTS EDGE_TTS has some real good collection of voice, thank you microsoft |
Maybe I'll switch to edge I'm very interested in better sounding voice output |
title covers it would be sweet to talk and reply in audio
The text was updated successfully, but these errors were encountered: