mdurst12 commited on
Commit
a4e0186
·
1 Parent(s): 5996b8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -43,7 +43,11 @@ The effects of climate change are already being felt by communities across the w
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
  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.
48
  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.
49
  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.
@@ -53,9 +57,10 @@ with gr.Blocks(title=title) as demo:
53
  gr.Markdown(f"## {title}")
54
  # gr.Markdown("""![marketing](types-of-employee-turnover.jpg)""")
55
  gr.Markdown(description1)
56
- gr.Markdown("""---""")
57
  gr.Markdown(description2)
58
- gr.Markdown("""---""")
 
59
  with gr.Row():
60
  with gr.Column():
61
  CLIMATE_SCENARIO = gr.Slider(label="Climate Scenario", minimum=0, maximum=2, value=0, step=1)
 
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.
 
57
  gr.Markdown(f"## {title}")
58
  # gr.Markdown("""![marketing](types-of-employee-turnover.jpg)""")
59
  gr.Markdown(description1)
60
+ # gr.Markdown("""---""")
61
  gr.Markdown(description2)
62
+ gr.Markdown(description3)
63
+ # gr.Markdown("""---""")
64
  with gr.Row():
65
  with gr.Column():
66
  CLIMATE_SCENARIO = gr.Slider(label="Climate Scenario", minimum=0, maximum=2, value=0, step=1)