Skip to content

Commit dc462bf

Browse files
author
legionfu
committed
提供错误下载地址问题修复
1 parent c50f431 commit dc462bf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/lightdiffusionflow_config.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,12 @@ def click_to_download(file_name, file_url):
7474
name = file_name
7575
if(name == "ControlNet Models"):
7676
name = "常用ControlNet模型"
77+
return f'''<p style="color:Orange;">点击下载 \
78+
<a style ='text-decoration:underline;color:cornflowerblue;', target="_blank", href='https://pan.quark.cn/s/eafa2a9df949'> 常用ControlNet模型 </a>
79+
'''
80+
7781
return f'''<p style="color:Orange;">点击下载 \
78-
<a style ='text-decoration:underline;color:cornflowerblue;', target="_blank", href='https://pan.quark.cn/s/eafa2a9df949'> {name} </a>
82+
<a style ='text-decoration:underline;color:cornflowerblue;', target="_blank", href='{file_url}'> {name} </a>
7983
'''
8084

8185
OutputPrompt = OutputPrompt_English

0 commit comments

Comments
 (0)