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'
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'