Update app.py
Browse files
app.py
CHANGED
|
@@ -73,10 +73,10 @@ html_content = """
|
|
| 73 |
"""
|
| 74 |
|
| 75 |
# 创建 Gradio 界面
|
| 76 |
-
def
|
| 77 |
return html_content
|
| 78 |
|
| 79 |
-
iface = gr.Interface(fn=
|
| 80 |
|
| 81 |
# 启动应用
|
| 82 |
iface.launch()
|
|
|
|
| 73 |
"""
|
| 74 |
|
| 75 |
# 创建 Gradio 界面
|
| 76 |
+
def show_html():
|
| 77 |
return html_content
|
| 78 |
|
| 79 |
+
iface = gr.Interface(fn=show_html, inputs=[], outputs=gr.HTML(), title="个人简介页面")
|
| 80 |
|
| 81 |
# 启动应用
|
| 82 |
iface.launch()
|