Spaces:
Sleeping
Sleeping
Commit
•
1ffe070
1
Parent(s):
64ace6e
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def greet(address):
|
|
7 |
return json.dumps(result, indent=4, ensure_ascii=False)
|
8 |
|
9 |
|
10 |
-
textbox = gr.Textbox(label="输入你的地址:", placeholder="王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号", lines=2)
|
11 |
-
|
12 |
-
iface = gr.Interface(fn=greet, inputs=textbox, outputs="text")
|
13 |
iface.launch()
|
|
|
7 |
return json.dumps(result, indent=4, ensure_ascii=False)
|
8 |
|
9 |
|
10 |
+
textbox = gr.Textbox(label="输入你的地址:",value="王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号", placeholder="王志超029-68216000新疆维吾尔自治区乌鲁木齐市沙依巴克区西虹东路463号", lines=2)
|
11 |
+
title = "地址识别py版本,请输入地址进行测试"
|
12 |
+
iface = gr.Interface(fn=greet, inputs=textbox, outputs="text",title=title)
|
13 |
iface.launch()
|