cnfync commited on
Commit
82bbd3b
·
verified ·
1 Parent(s): 0debd03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,10 +73,10 @@ html_content = """
73
  """
74
 
75
  # 创建 Gradio 界面
76
- def get_html():
77
  return html_content
78
 
79
- iface = gr.Interface(fn=get_html, outputs=gr.HTML(), title="个人简介页面")
80
 
81
  # 启动应用
82
  iface.launch()
 
73
  """
74
 
75
  # 创建 Gradio 界面
76
+ def get_html(input_text):
77
  return html_content
78
 
79
+ iface = gr.Interface(fn=get_html, inputs="text", outputs=gr.HTML(), title="个人简介页面")
80
 
81
  # 启动应用
82
  iface.launch()