We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16cf619 commit 798ca17Copy full SHA for 798ca17
apps/setting/models_provider/impl/xinference_model_provider/model/tts.py
@@ -15,12 +15,14 @@ def custom_get_token_ids(text: str):
15
class XInferenceTextToSpeech(MaxKBBaseModel, BaseTextToSpeech):
16
api_base: str
17
api_key: str
18
+ model: str
19
params: dict
20
21
def __init__(self, **kwargs):
22
super().__init__(**kwargs)
23
self.api_key = kwargs.get('api_key')
24
self.api_base = kwargs.get('api_base')
25
+ self.model = kwargs.get('model')
26
self.params = kwargs.get('params')
27
28
@staticmethod
0 commit comments