uezo / ChatdollKit

ChatdollKit enables you to make your 3D model into a chatbot
Apache License 2.0
702 stars 73 forks source link

Creat New TTS But Error #314

Open dv11210310 opened 2 months ago

dv11210310 commented 2 months ago

https://github.com/RVC-Boss/GPT-SoVITS/blob/main/docs/cn/README.md I use this project to create local TTS but I play it jump two Error. this is localTTS.SC GPTSoVITSFASTAPI.txt

KeyNotFoundException: The given key 'Voice' was not present in the dictionary. System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at :0) ChatdollKit.Dialog.DialogController.Update () (at Assets/ChatdollKit/Scripts/Dialog/DialogController.cs:586)

KeyNotFoundException: The given key 'Voice' was not present in the dictionary. System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) (at <b11ba2a8fbf24f219f7cc98532a11304>:0) ChatdollKit.Demo.Main.OnSubmitRequestInput () (at Assets/ChatdollKit/Demo/Scripts/Main.cs:230) UnityEngine.Events.InvokableCall.Invoke () (at <55fbbbd17b724c15b6abe8c1a3e3289c>:0) UnityEngine.Events.UnityEvent1[T0].Invoke (T0 arg0) (at <55fbbbd17b724c15b6abe8c1a3e3289c>:0) UnityEngine.UI.InputField.SendOnSubmit () (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/InputField.cs:2407) UnityEngine.UI.InputField.OnUpdateSelected (UnityEngine.EventSystems.BaseEventData eventData) (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/UI/Core/InputField.cs:2050) UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IUpdateSelectedHandler handler, UnityEngine.EventSystems.BaseEventData eventData) (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:106) UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/ExecuteEvents.cs:272) UnityEngine.EventSystems.EventSystem:Update() (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:530)

I can't find the problem. Help @@ image

uezo commented 2 months ago

Hi @dv11210310 , You are working on an awesome project! πŸ‘πŸ‘πŸ‘ If possible, please consider sharing the component πŸ™

Now, regarding the error message, it indicates that no VoiceRequestProviders are configured in your project. Please select a speech service in the ChatdollKit inspector and configure it.

dv11210310 commented 2 months ago

Hi @uezo sure if it's work.I will sure to you.

I add new TTS on Main.cs it work. but I request to TTS API ERROR.Now I need to fix this.XD