mdurst12 commited on
Commit
9c5187e
Β·
1 Parent(s): a4e0186

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -39,17 +39,18 @@ def main_func(CLIMATE_SCENARIO, EAL_SCORE,SOVI_SCORE,SOCIAL,ECONOMY,HOUSING_INFR
39
  # Create the UI
40
  title = "**Climate Risk Model** 🌍"
41
  description1 = """
42
- The effects of climate change are already being felt by communities across the world. However, each community will face unique hazards in intensity and type because of climate change. Understanding the cost of these hazards is one of the only ways local policymakers can balance competing financial priorities that prevent investments into climate adaptation. To make the most informed decision, local policymakers must determine which hazards they will be impacted by, how to strengthen their resilience to storms, how to properly utilize federal funding, and where to build key partnerships with businesses and NGOs. On the federal and state level, policymakers must understand which communities must be prioritized, how much money communities need, and which agencies to direct funds to.
43
- To achieve this, we have created an interactive risk analysis tool that interface allows users to understand which communities will be most impacted, how much the increased impacts of hazards will affect risk, and what characteristics of community resilience can be improved so that risk can be reduced. In doing so, our tool addresses one of the greatest challenges to climate action: understanding the impacts on a granular, local level.
44
  """
45
 
46
  description2 ="""
47
- To achieve this, we have created an interactive risk analysis tool that interface allows users to understand which communities will be most impacted, how much the increased impacts of hazards will affect risk, and what characteristics of community resilience can be improved so that risk can be reduced. In doing so, our tool addresses one of the greatest challenges to climate action: understanding the impacts on a granular, local level.
48
  """
49
 
50
  description3 = """
51
- This interface allows a user to populate data from three pre-selected counties or a county of their choosing. The pre-selected counties are Miami-Dade County in Florida, Washington County in Minnesota, or Falls Church County in Virginia. In order to acquire the data for a county of their choosing, a user can navigate to a team-built tableau dashboard (https://public.tableau.com/app/profile/michael.durst/viz/ClimateChangeHackathon/ExpectedRiskbyCounty?publish=yes). Either select one of three counties at bottom of page or enter custom data in the fields.
52
  Once the interface is pre-populated with data or a user enters data from their county, a user can experiment with the following data elements by clicking analyze and adjusting the variables available on the sliding scale.
 
 
 
53
  As an output, the user can then see the effects this variables have on the risk score and risk rating as well as see a high to low ranked order of community resilience categories.
54
  """
55
 
@@ -60,6 +61,7 @@ with gr.Blocks(title=title) as demo:
60
  # gr.Markdown("""---""")
61
  gr.Markdown(description2)
62
  gr.Markdown(description3)
 
63
  # gr.Markdown("""---""")
64
  with gr.Row():
65
  with gr.Column():
 
39
  # Create the UI
40
  title = "**Climate Risk Model** 🌍"
41
  description1 = """
42
+ This interface allows a user to populate data from three pre-selected counties or a county of their choosing. The pre-selected counties are Miami-Dade County in Florida, Washington County in Minnesota, or Falls Church County in Virginia. In order to acquire the data for a county of their choosing, a user can navigate to a team-built tableau dashboard. Either select one of three counties at bottom of page or enter custom data in the fields.
 
43
  """
44
 
45
  description2 ="""
46
+ (https://public.tableau.com/app/profile/michael.durst/viz/ClimateChangeHackathon/ExpectedRiskbyCounty?publish=yes)
47
  """
48
 
49
  description3 = """
 
50
  Once the interface is pre-populated with data or a user enters data from their county, a user can experiment with the following data elements by clicking analyze and adjusting the variables available on the sliding scale.
51
+ """
52
+
53
+ description4 = """
54
  As an output, the user can then see the effects this variables have on the risk score and risk rating as well as see a high to low ranked order of community resilience categories.
55
  """
56
 
 
61
  # gr.Markdown("""---""")
62
  gr.Markdown(description2)
63
  gr.Markdown(description3)
64
+ gr.Markdown(description4)
65
  # gr.Markdown("""---""")
66
  with gr.Row():
67
  with gr.Column():