diff --git a/logs/f5tts.log b/logs/f5tts.log index b631cf1..5254c8a 100644 --- a/logs/f5tts.log +++ b/logs/f5tts.log @@ -405,3 +405,77 @@ AttributeError: 'NoneType' object has no attribute 'shape' 2025-05-11 14:10:42.594[f5tts][debug][/data/ymq/py/f5tts/py3/lib/python3.10/site-packages/ahserver/filedownload.py:48]path_download():download filename=/data/ymq/py/f5tts/files/tmp/93/126/83/94/Wvyf3n1vW_NKESfT_X8D9.wav 2025-05-11 14:10:42.595[f5tts][debug][/data/ymq/py/f5tts/py3/lib/python3.10/site-packages/ahserver/filedownload.py:28]filepath='/data/ymq/py/f5tts/files/tmp/93/126/83/94/Wvyf3n1vW_NKESfT_X8D9.wav', filename='Wvyf3n1vW_NKESfT_X8D9.wav', download=False 2025-05-11 14:10:42.595[f5tts][info][/data/ymq/py/f5tts/py3/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(123.121.164.230) None access /idfile cost 0.0015573501586914062, (0.0003724098205566406) +2025-05-23 04:27:26.303[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/' +2025-05-23 04:27:26.335[f5tts][exception][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:168]Exception=client(222.128.111.23) None access / cost 0.02095937728881836, (0.00016736984252929688), except='NoneType' object has no attribute 'be_call' +Traceback (most recent call last): + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 198, in datahandle + content0 = await self.resource.path_call(request,entire_url('/bricks/header.tmpl')) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/processorResource.py", line 472, in path_call + return await processor.be_call(new_request, params=params) +AttributeError: 'NoneType' object has no attribute 'be_call' + +Traceback (most recent call last): + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py", line 161, in checkAuth + ret = await handler(request) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/processorResource.py", line 351, in _handle + ret = await processor.handle(request) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 95, in handle + await self.execute(request) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 86, in execute + await self.datahandle(request) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/baseProcessor.py", line 198, in datahandle + content0 = await self.resource.path_call(request,entire_url('/bricks/header.tmpl')) + File "/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/processorResource.py", line 472, in path_call + return await processor.be_call(new_request, params=params) +AttributeError: 'NoneType' object has no attribute 'be_call' + +2025-05-23 04:27:26.473[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/favicon.ico' +2025-05-23 04:27:26.480[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /favicon.ico cost 0.002798795700073242, (5.459785461425781e-05) +2025-05-23 04:31:17.863[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/' +2025-05-23 04:31:17.882[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access / cost 0.012935638427734375, (7.653236389160156e-05) +2025-05-23 04:31:18.010[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/3parties/xterm.css' +2025-05-23 04:31:18.017[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/3parties/xterm.css cost 0.0028133392333984375, (5.054473876953125e-05) +2025-05-23 04:31:18.022[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/3parties/video-js.css' +2025-05-23 04:31:18.028[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/3parties/video-js.css cost 0.003170013427734375, (4.696846008300781e-05) +2025-05-23 04:31:18.142[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/css/bricks.css' +2025-05-23 04:31:18.148[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/css/bricks.css cost 0.0019001960754394531, (4.8160552978515625e-05) +2025-05-23 04:31:18.232[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/css/myapp.css' +2025-05-23 04:31:18.238[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /css/myapp.css cost 0.0019197463989257812, (4.649162292480469e-05) +2025-05-23 04:31:18.241[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/3parties/xterm-addon-fit.js' +2025-05-23 04:31:18.247[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/3parties/marked.min.js' +2025-05-23 04:31:18.251[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/3parties/xterm.js' +2025-05-23 04:31:18.256[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/3parties/xterm-addon-fit.js cost 0.011499643325805664, (4.57763671875e-05) +2025-05-23 04:31:18.272[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/3parties/video.min.js' +2025-05-23 04:31:18.276[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/3parties/marked.min.js cost 0.026109933853149414, (5.340576171875e-05) +2025-05-23 04:31:18.279[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/3parties/xterm.js cost 0.02481532096862793, (4.5299530029296875e-05) +2025-05-23 04:31:18.311[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/3parties/video.min.js cost 0.03598499298095703, (4.9114227294921875e-05) +2025-05-23 04:31:18.351[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/3parties/recorder.wav.min.js' +2025-05-23 04:31:18.357[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/3parties/recorder.wav.min.js cost 0.0023119449615478516, (7.724761962890625e-05) +2025-05-23 04:31:18.370[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/bricks.js' +2025-05-23 04:31:18.382[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/bricks.js cost 0.008683443069458008, (5.626678466796875e-05) +2025-05-23 04:31:18.396[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/js/myapp.js' +2025-05-23 04:31:18.406[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /js/myapp.js cost 0.007084369659423828, (4.863739013671875e-05) +2025-05-23 04:31:18.996[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/tts.ui' +2025-05-23 04:31:19.008[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /tts.ui cost 0.007374286651611328, (6.008148193359375e-05) +2025-05-23 04:31:19.120[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/imgs/cancel.png' +2025-05-23 04:31:19.125[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/imgs/submit.png' +2025-05-23 04:31:19.130[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/bricks/imgs/reset.png' +2025-05-23 04:31:19.136[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/imgs/cancel.png cost 0.011809825897216797, (4.6253204345703125e-05) +2025-05-23 04:31:19.141[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/imgs/submit.png cost 0.012003898620605469, (6.0558319091796875e-05) +2025-05-23 04:31:19.145[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /bricks/imgs/reset.png cost 0.011260271072387695, (4.506111145019531e-05) +2025-05-23 04:31:19.150[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/get_speakers.dspy' +2025-05-23 04:31:19.159[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /get_speakers.dspy cost 0.005850553512573242, (5.698204040527344e-05) +2025-05-23 06:25:15.017[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/musicgen_out.wav' +2025-05-23 06:25:15.029[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /musicgen_out.wav cost 0.005625486373901367, (7.939338684082031e-05) +2025-05-23 06:25:15.769[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/musicgen_out.wav' +2025-05-23 06:25:15.780[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(222.128.111.23) None access /musicgen_out.wav cost 0.006036043167114258, (4.76837158203125e-05) +2025-05-25 01:38:17.784[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:151]checkAuth() called ... request.path='/musicgen_out.wav' +2025-05-25 01:38:17.798[f5tts][info][/share/ymq/run/f5tts/f5tts.env/lib/python3.10/site-packages/ahserver/auth_api.py:163]timecost=client(221.219.121.127) None access /musicgen_out.wav cost 0.007904291152954102, (0.00028228759765625) diff --git a/requirements.txt b/requirements.txt index 22fda17..8447eb6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -# git+https://github.com/SWivid/F5-TTS.git soundfile cached_path pycld2 cn2an -git+https://git.kaiyuancloud.cn/yumoqing/apppublic +# git+https://github.com/SWivid/F5-TTS +# git+https://git.kaiyuancloud.cn/yumoqing/apppublic diff --git a/script/f5tts.service b/script/f5tts.service index 3c38844..dd82c51 100644 --- a/script/f5tts.service +++ b/script/f5tts.service @@ -1,11 +1,10 @@ [Unit] -Description=f5tts service Wants=systemd-networkd.service -Requires=nginx.service [Service] -Type=forking -ExecStart=su - f5tts -c "/data/f5tts/script/f5tts.sh" -ExecStop=su - f5tts "/d/f5tts/bin/killname app/f5tts.py" +User=ymq +Group=ymq +WorkingDirectory=/share/ymq/run/f5tts +ExecStart=/share/ymq/run/f5tts/f5tts.env/bin/python app/f5tts.py -p 9995 [Install] WantedBy=multi-user.target