Spaces:
Runtime error
Runtime error
Add some beauty
Browse files
app.py
CHANGED
@@ -63,5 +63,7 @@ def predict(text):
|
|
63 |
f"{reverse_geocoded}"
|
64 |
return f"Confident for {relevancy_score * 100}% that tweet does not have the geolocation relevant information."
|
65 |
|
66 |
-
|
|
|
|
|
67 |
iface.launch()
|
|
|
63 |
f"{reverse_geocoded}"
|
64 |
return f"Confident for {relevancy_score * 100}% that tweet does not have the geolocation relevant information."
|
65 |
|
66 |
+
gr.Markdown("# **<p align='center'>Twitter geocoding with 🤗 Transformers</p>**")
|
67 |
+
|
68 |
+
iface = gr.Interface(fn=predict, placeholder="Enter the tweet", inputs="text", outputs="text")
|
69 |
iface.launch()
|