azamat commited on
Commit
6534a76
1 Parent(s): 31ae1e9

Add some beauty

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- iface = gr.Interface(fn=predict, inputs="text", outputs="text")
 
 
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()