mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
15 lines
244 B
Python
15 lines
244 B
Python
# coding=utf-8
|
|
from abc import abstractmethod
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class BaseTextToSpeech(BaseModel):
|
|
@abstractmethod
|
|
def check_auth(self):
|
|
pass
|
|
|
|
@abstractmethod
|
|
def text_to_speech(self, text):
|
|
pass
|