Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,9 @@ DESCRIPTION = '''
|
|
29 |
<font color=red><h2 style="font-weight: 900; margin-bottom: 7px;">
|
30 |
本页面是为方便英语不太好朋友了解如何使用,采用的是CPU,运算时间较长,请稳步<a href="https://huggingface.co/spaces/PKUWilliamYang/VToonify">原VToonify</a>,速度将提升数十倍
|
31 |
</h2></font>
|
|
|
|
|
|
|
32 |
</div>
|
33 |
'''
|
34 |
FOOTER = '<div align=center><img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.laobi.icu/badge?page_id=williamyang1991/VToonify" /></div>'
|
@@ -114,7 +117,7 @@ def main():
|
|
114 |
load_info = gr.Textbox(label='Process Information', interactive=False, value='No model loaded.')
|
115 |
with gr.Column():
|
116 |
gr.Markdown('''类型参考
|
117 |
-
:
|
@@ -132,7 +135,7 @@ def main():
|
|
132 |
with gr.Box():
|
133 |
with gr.Column():
|
134 |
gr.Markdown('''调整边框距离参数.
|
135 |
-
:
|
137 |
top = gr.Slider(128,
|
138 |
256,
|
@@ -221,7 +224,7 @@ def main():
|
|
221 |
step=0.05,
|
222 |
label='卡通化程度')
|
223 |
with gr.Column():
|
224 |
-
gr.Markdown('''
|
226 |
with gr.Row():
|
227 |
output_info = gr.Textbox(label='示例信息', interactive=False, value='n.a.')
|
|
|
29 |
<font color=red><h2 style="font-weight: 900; margin-bottom: 7px;">
|
30 |
本页面是为方便英语不太好朋友了解如何使用,采用的是CPU,运算时间较长,请稳步<a href="https://huggingface.co/spaces/PKUWilliamYang/VToonify">原VToonify</a>,速度将提升数十倍
|
31 |
</h2></font>
|
32 |
+
<h2 style="font-weight: 900; margin-bottom: 7px;">
|
33 |
+
查看更多好玩的人工智能工具请移步<a href="https://www.toolchest.cn">智能工具箱</a>
|
34 |
+
</h2>
|
35 |
</div>
|
36 |
'''
|
37 |
FOOTER = '<div align=center><img id="visitor-badge" alt="visitor badge" src="https://visitor-badge.laobi.icu/badge?page_id=williamyang1991/VToonify" /></div>'
|
|
|
117 |
load_info = gr.Textbox(label='Process Information', interactive=False, value='No model loaded.')
|
118 |
with gr.Column():
|
119 |
gr.Markdown('''类型参考
|
120 |
+
''')
|
121 |
|
122 |
|
123 |
with gr.Box():
|
|
|
135 |
with gr.Box():
|
136 |
with gr.Column():
|
137 |
gr.Markdown('''调整边框距离参数.
|
138 |
+
''')
|
139 |
with gr.Row():
|
140 |
top = gr.Slider(128,
|
141 |
256,
|
|
|
224 |
step=0.05,
|
225 |
label='卡通化程度')
|
226 |
with gr.Column():
|
227 |
+
gr.Markdown('''
|
228 |
''')
|
229 |
with gr.Row():
|
230 |
output_info = gr.Textbox(label='示例信息', interactive=False, value='n.a.')
|