Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
InstantID
Commits
9bcaa2e9
Commit
9bcaa2e9
authored
Jul 19, 2024
by
chenpangpang
Browse files
feat: 解决gradio显示不全的问题;优化启动器的文字说明
parent
00b2ff19
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
InstantID/gradio_demo/app.py
InstantID/gradio_demo/app.py
+1
-1
InstantID/gradio_demo/requirements.txt
InstantID/gradio_demo/requirements.txt
+1
-1
启动器.ipynb
启动器.ipynb
+3
-2
No files found.
InstantID/gradio_demo/app.py
View file @
9bcaa2e9
...
...
@@ -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__"
:
...
...
InstantID/gradio_demo/requirements.txt
View file @
9bcaa2e9
...
...
@@ -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
启动器.ipynb
View file @
9bcaa2e9
...
...
@@ -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",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment