Spaces:
Runtime error
Runtime error
Add some beauty
Browse files
app.py
CHANGED
|
@@ -77,10 +77,10 @@ def predict(text):
|
|
| 77 |
with gr.Blocks() as demo:
|
| 78 |
|
| 79 |
gr.Markdown("# **<p align='center'>Twitter geocoding with 🤗 Transformers</p>**")
|
| 80 |
-
gr.Markdown("
|
| 81 |
-
gr.Markdown("
|
| 82 |
-
gr.Markdown("
|
| 83 |
-
gr.Markdown("
|
| 84 |
|
| 85 |
inputs = gr.Textbox(placeholder="Enter the tweet")
|
| 86 |
outputs = [gr.Dataframe(label="Geocoded data")]
|
|
|
|
| 77 |
with gr.Blocks() as demo:
|
| 78 |
|
| 79 |
gr.Markdown("# **<p align='center'>Twitter geocoding with 🤗 Transformers</p>**")
|
| 80 |
+
gr.Markdown("### <div align='left'>Pipeline consists of:</div>")
|
| 81 |
+
gr.Markdown("### <div align='left'>1) Relevancy scoring model - predicts whether a tweet has geocoding related information</div>")
|
| 82 |
+
gr.Markdown("### <div align='left'>2) Coordinate predicting model - predicts exact latitude and longitude of user by tweet</div>")
|
| 83 |
+
gr.Markdown("### <div align='left'>3) Nominatim API for reverse geocoding lat/lon - uses open street map to reverse geocode lat and lon</div>")
|
| 84 |
|
| 85 |
inputs = gr.Textbox(placeholder="Enter the tweet")
|
| 86 |
outputs = [gr.Dataframe(label="Geocoded data")]
|