Spaces:
Running
Running
Commit
•
c7757cd
1
Parent(s):
c1d5d41
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,8 @@ def greet(address):
|
|
9 |
|
10 |
textbox = gr.Textbox(label="输入你的地址:",value="王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号", placeholder="王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号", lines=2)
|
11 |
title = "地址识别py版本,请输入地址进行测试"
|
12 |
-
github_link = "<a href='https://github.com/
|
|
|
13 |
output_text = gr.outputs.Text(label="Output")
|
14 |
-
|
15 |
-
iface = gr.Interface(fn=greet, inputs=textbox, outputs=[output_text, output_html], title=title)
|
16 |
iface.launch()
|
|
|
9 |
|
10 |
textbox = gr.Textbox(label="输入你的地址:",value="王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号", placeholder="王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号", lines=2)
|
11 |
title = "地址识别py版本,请输入地址进行测试"
|
12 |
+
github_link = "<a href='https://github.com/wzc570738205/smartParsePro-py'> 🧩GitHub</a>"
|
13 |
+
description = f"{github_link}<br><br>"
|
14 |
output_text = gr.outputs.Text(label="Output")
|
15 |
+
iface = gr.Interface(fn=greet, inputs=textbox, outputs=output_text, title=title, description=description)
|
|
|
16 |
iface.launch()
|