hmb HF Staff commited on
Commit
1fa456e
Β·
verified Β·
1 Parent(s): 8757c6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -14
app.py CHANGED
@@ -144,8 +144,15 @@ with gr.Blocks(css="""
144
  font-style: italic;
145
  background-color: rgba(200, 200, 200, 0.2);
146
  }
 
 
 
 
 
147
  """) as demo:
148
- gr.Markdown("# 🌍 Digital Nomad Destinations")
 
 
149
  gr.Markdown("Explore top digital nomad locations around the world. The bars in numeric columns indicate relative values - longer bars are better!")
150
 
151
  with gr.Row():
@@ -204,17 +211,4 @@ with gr.Blocks(css="""
204
  country_dropdown.change(process_country_filter, [country_dropdown, cost_slider], data_table)
205
  cost_slider.change(process_country_filter, [country_dropdown, cost_slider], data_table)
206
 
207
- gr.Markdown("### πŸ“Š Data Visualization Guide")
208
- gr.Markdown("The table above uses colorful gradient bars to help you quickly identify: \n"
209
- "- **🌟 Quality of Life**: Longer green bars indicate higher quality of life \n"
210
- "- **πŸš€ Internet Speed**: Longer green bars indicate faster internet connections \n"
211
- "- **πŸ’΅ Cost of Living**: Values shown as dollar amounts without color coding \n"
212
- "- **❓ Missing Data**: Displayed as *Data Not Available* with a light gray background")
213
-
214
- gr.Markdown("### 🧳 Digital Nomad Tips")
215
- gr.Markdown("- Look for places with digital nomad visas for longer stays \n"
216
- "- Consider internet speed if you need to attend video meetings \n"
217
- "- Balance cost of living with quality of life for the best experience \n"
218
- "- Some newer nomad destinations may have incomplete data")
219
-
220
  demo.launch()
 
144
  font-style: italic;
145
  background-color: rgba(200, 200, 200, 0.2);
146
  }
147
+ .title {
148
+ font-size: 3rem;
149
+ font-weight: 600;
150
+ text-align: center;
151
+ }
152
  """) as demo:
153
+ gr.HTML(elem_classes="title", value="🌍")
154
+ gr.HTML("<a href='https://www.fontspace.com/category/graffiti'><img src='https://see.fontimg.com/api/rf5/JpZqa/MWMyNzc2ODk3OTFlNDk2OWJkY2VjYTIzNzFlY2E4MWIudHRm/bm9tYWQgZGVzdGluYXRpb25z/super-feel.png?r=fs&h=130&w=2000&fg=e2e2e2&bg=FFFFFF&tb=1&s=65' alt='Graffiti fonts'></a>")
155
+
156
  gr.Markdown("Explore top digital nomad locations around the world. The bars in numeric columns indicate relative values - longer bars are better!")
157
 
158
  with gr.Row():
 
211
  country_dropdown.change(process_country_filter, [country_dropdown, cost_slider], data_table)
212
  cost_slider.change(process_country_filter, [country_dropdown, cost_slider], data_table)
213
 
 
 
 
 
 
 
 
 
 
 
 
 
 
214
  demo.launch()