lenML / Speech-AI-Forge

🍦 Speech-AI-Forge is a project developed around TTS generation model, implementing an API Server and a Gradio-based WebUI.
https://huggingface.co/spaces/lenML/ChatTTS-Forge
GNU Affero General Public License v3.0
711 stars 87 forks source link

Inference Seed return error in webui #6

Closed handles98 closed 4 months ago

handles98 commented 4 months ago

The first press of the button is normal, but pressing it again will return an error.

Traceback (most recent call last): File "D:\ChatTTS-Forge\venv\lib\site-packages\gradio\queueing.py", line 521, in process_events response = await route_utils.call_process_api( File "D:\ChatTTS-Forge\venv\lib\site-packages\gradio\route_utils.py", line 276, in call_process_api output = await app.get_blocks().process_api( File "D:\ChatTTS-Forge\venv\lib\site-packages\gradio\blocks.py", line 1941, in process_api inputs = await self.preprocess_data( File "D:\ChatTTS-Forge\venv\lib\site-packages\gradio\blocks.py", line 1655, in preprocess_data processed_input.append(block.preprocess(inputs_cached)) File "D:\ChatTTS-Forge\venv\lib\site-packages\gradio\components\number.py", line 118, in preprocess elif self.minimum is not None and payload < self.minimum: TypeError: '<' not supported between instances of 'str' and 'int'