部署完成后,启动`frpc`服务,执行以下命令:bash./frpc_linux_amd64 -c frpc.ini然后,你可以在本地部署`gradio`应用,将你的大模型包装成用户友好的界面。`gradio`的使用非常简单,只需要几行代码即可创建一个交互式UI。例如,如果你有一个预测温度的模型,可以这样使用:pythonimport gradio as grdef predict_...
1. Download this file: https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64 2. Rename the downloaded file to: frpc_linux_amd64_v0.2 3. Move the file to this location: /home/gaojiaran/anaconda3/envs/python3.10/lib/python3.10/site-packages/gradio ...