This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| CosyVoice PyWorker Backend | |
| Wraps the CosyVoice TTS API for vast.ai serverless | |
| """ | |
| import requests | |
| import datetime | |
| import time | |
| import os | |
| from flask import Response, abort, send_file | |
| import io |