Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ demo = gr.Interface(
|
|
83 |
inputs=gr.Textbox(lines=10, placeholder="Enter text with place names..."),
|
84 |
outputs=gr.HighlightedText(),
|
85 |
title="π Toponym Recognition with GeoLM",
|
86 |
-
description="Enter a paragraph and detect
|
87 |
examples=[
|
88 |
["Minneapolis, officially the City of Minneapolis, is a city in the state of Minnesota and the county seat of Hennepin County. As of the 2020 census the population was 429,954, making it the largest city in Minnesota and the 46th-most-populous in the United States. Nicknamed the City of Lakes, Minneapolis is abundant in water, with thirteen lakes, wetlands, the Mississippi River, creeks, and waterfalls."],
|
89 |
["Los Angeles, often referred to by its initials L.A., is the most populous city in California, the most populous U.S. state. It is the commercial, financial, and cultural center of Southern California. Los Angeles is the second-most populous city in the United States after New York City, with a population of roughly 3.9 million residents within the city limits as of 2020."],
|
|
|
83 |
inputs=gr.Textbox(lines=10, placeholder="Enter text with place names..."),
|
84 |
outputs=gr.HighlightedText(),
|
85 |
title="π Toponym Recognition with GeoLM",
|
86 |
+
description="Enter a paragraph and detect place names using the zekun-li/geolm-base-toponym-recognition model.",
|
87 |
examples=[
|
88 |
["Minneapolis, officially the City of Minneapolis, is a city in the state of Minnesota and the county seat of Hennepin County. As of the 2020 census the population was 429,954, making it the largest city in Minnesota and the 46th-most-populous in the United States. Nicknamed the City of Lakes, Minneapolis is abundant in water, with thirteen lakes, wetlands, the Mississippi River, creeks, and waterfalls."],
|
89 |
["Los Angeles, often referred to by its initials L.A., is the most populous city in California, the most populous U.S. state. It is the commercial, financial, and cultural center of Southern California. Los Angeles is the second-most populous city in the United States after New York City, with a population of roughly 3.9 million residents within the city limits as of 2020."],
|