Alealejandrooo commited on
Commit
8f31a79
1 Parent(s): 6904daa

Update gradio/app.py

Browse files
Files changed (1) hide show
  1. gradio/app.py +2 -2
gradio/app.py CHANGED
@@ -9,7 +9,7 @@ from folium import Map
9
  def update_header(file_info):
10
  if file_info is not None:
11
  filename = file_info.split('/')[-1] # Access the filename from the file_info dictionary
12
- header = f"<h1>Nordic Balance Postcodes Map: {filename}</h1>" # Update the Markdown content
13
  return header # Continue to pass the file_info to the next function if necessary
14
 
15
  def generate_map(file_path):
@@ -55,7 +55,7 @@ def generate_map(file_path):
55
  with gr.Blocks() as demo:
56
 
57
  with gr.Row():
58
- header = gr.Markdown(("<h1>Nordic Balance Postcodes Map</h1>"))
59
 
60
  with gr.Row():
61
  map = Folium(value = Map(location=[51.505303, -0.13902], zoom_start=10), height=750)
 
9
  def update_header(file_info):
10
  if file_info is not None:
11
  filename = file_info.split('/')[-1] # Access the filename from the file_info dictionary
12
+ header = f"<h1>Postcodes Map: {filename}</h1>" # Update the Markdown content
13
  return header # Continue to pass the file_info to the next function if necessary
14
 
15
  def generate_map(file_path):
 
55
  with gr.Blocks() as demo:
56
 
57
  with gr.Row():
58
+ header = gr.Markdown(("<h1>Postcodes Map</h1>"))
59
 
60
  with gr.Row():
61
  map = Folium(value = Map(location=[51.505303, -0.13902], zoom_start=10), height=750)