Closed Miss0x closed 8 months ago
Docker is a way to deploy to a server. However, securing your deployment is something that should not be forgotten. Reverse proxies, limited user permissions and file access are recommended.
On Sat, Oct 28, 2023, 1:30 PM lwj9393993 @.***> wrote:
Is there any possiblity to see a guidance to introduce how to deploy the whole service on any other server in the future? I hope this would be great helpfut for those new students. Thank you team.
— Reply to this email directly, view it on GitHub https://github.com/rsxdalv/tts-generation-webui/issues/206, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTRXIZZ2LSO3OF74NHG7O3YBTNFFAVCNFSM6AAAAAA6T72CNWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DMNJTHA2DMNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thank you rsxdalv for your super fast reply. Actually I met a problem when I deploy this project on a cloud platform. I copied the code in your provided google colab notebook. Then everything worked just fine in my rented server, until the last step.
This is the result of the last run command !python server.py --share. I can't call out the public link. `Running on local URL: http://0.0.0.0:7860/
Could not create share link. Please check your internet connection or our status page: https://status.gradio.app/.
Also please ensure that your antivirus or firewall is not blocking the binary file located at: /root/miniconda3/lib/python3.10/site-packages/gradio/frpc_linux_amd64_v0.2`
Is there any modification I should do in the load_config.py?
Thank you.
Have you used other gradio projects like this before? I think there might be a small step missing
Finally I solve this problem, please allow me to say something.
Due to some unknow connection failed reason, I dont have file: frpc_linux_amd64_v0.2 in the folder: /root/miniconda3/lib/python3.10/site-packages/gradio/.
Then I have to mannully download this from https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64,
and give it permission by command chmod +x frpc_linux_amd64_v0.2
Restart the terminal then !python server.py --share
It's now working!
Thank you for documenting this, hopefully people can find it if it happens again!
Is there any possiblity to see a guidance to introduce how to deploy the whole service on any other server in the future? I hope this would be great helpfut for those new students. Thank you team.