Commit 9bcaa2e9 authored by chenpangpang's avatar chenpangpang
Browse files

feat: 解决gradio显示不全的问题;优化启动器的文字说明

parent 00b2ff19
......@@ -446,7 +446,7 @@ def main(pretrained_model_name_or_path="wangqixun/YamerMIX_v8", enable_lcm_arg=F
gr.Markdown(article)
demo.launch(server_name='0.0.0.0', share=True)
demo.queue().launch(server_name='0.0.0.0', share=True)
if __name__ == "__main__":
......
......@@ -7,7 +7,7 @@ peft
huggingface-hub
opencv-python
insightface
gradio
gradio==3.40.0
controlnet_aux
gdown
peft
\ No newline at end of file
......@@ -9,8 +9,9 @@
"source": [
"## 说明\n",
"\n",
"- 启动和重启 Notebook 点上方工具栏中的「重启并运行所有单元格」。出现 `http://0.0.0.0:7860` 这个字样就算成功了。可以去控制台打开「自定义服务」了\n",
"- 访问自定义服务端口号设置为7860\n",
"- 启动和重启 Notebook 点上方工具栏中的「重启并运行所有单元格」。出现 `http://0.0.0.0:7860` 这个字样就成功了。可以通过以下任意方式开启页面:\n",
" - 控制台打开「自定义服务」了,访问自定义服务端口号设置为7860\n",
" - 直接打开显示的公开链接`public URL`\n",
"\n",
"## 功能介绍\n",
"- 原项目地址:https://github.com/InstantID/InstantID\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment