jsulz HF staff commited on
Commit
b34ed5e
1 Parent(s): 3db854b

moving text around

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -131,6 +131,8 @@ with gr.Blocks() as demo:
131
  The line chart to the right shows the total number of words in each address. However, not all SOTUs are created equally. From 1801 to 1916, each address was a written message to Congress. In 1913, Woodrow Wilson broke with tradition and delivered his address in person. Since then, the addresses have been a mix of written and spoken (mostly spoken).
132
 
133
  The spikes you see in the early 1970's and early 1980's are from written addresses by Richard Nixon and Jimmy Carter respectively.
 
 
134
  """
135
  )
136
  fig1 = px.line(
@@ -169,11 +171,6 @@ with gr.Blocks() as demo:
169
  ),
170
  legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1),
171
  )
172
- gr.Markdown(
173
- """
174
- Now that we have a little historical context, what does this data look like if we split things out by president? The bar chart below shows the average number of words in each address by president. The bars are grouped by written and spoken addresses.
175
- """
176
- )
177
  gr.Plot(fig2)
178
 
179
  # Create a line chart showing the Automated Readability Index in each address
 
131
  The line chart to the right shows the total number of words in each address. However, not all SOTUs are created equally. From 1801 to 1916, each address was a written message to Congress. In 1913, Woodrow Wilson broke with tradition and delivered his address in person. Since then, the addresses have been a mix of written and spoken (mostly spoken).
132
 
133
  The spikes you see in the early 1970's and early 1980's are from written addresses by Richard Nixon and Jimmy Carter respectively.
134
+
135
+ Now that we have a little historical context, what does this data look like if we split things out by president? The bar chart below shows the average number of words in each address by president. The bars are grouped by written and spoken addresses.
136
  """
137
  )
138
  fig1 = px.line(
 
171
  ),
172
  legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1),
173
  )
 
 
 
 
 
174
  gr.Plot(fig2)
175
 
176
  # Create a line chart showing the Automated Readability Index in each address