Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -318,7 +318,7 @@ def run_app():
|
|
318 |
st.metric(label='', value=total_movies)
|
319 |
|
320 |
with col2:
|
321 |
-
st.subheader('Total Years
|
322 |
st.metric(label='', value=total_years)
|
323 |
|
324 |
with col3:
|
@@ -334,11 +334,11 @@ def run_app():
|
|
334 |
col1, col2 = st.columns(2)
|
335 |
|
336 |
with col1:
|
337 |
-
st.subheader('
|
338 |
st.plotly_chart(fig_genre_movie_releases, use_container_width=True)
|
339 |
|
340 |
with col2:
|
341 |
-
st.subheader('Global Map
|
342 |
st.plotly_chart(fig_global_map, use_container_width=True)
|
343 |
|
344 |
fig_avg_rating_by_genre = fetch_and_plot_average_rating_by_genre(conn)
|
|
|
318 |
st.metric(label='', value=total_movies)
|
319 |
|
320 |
with col2:
|
321 |
+
st.subheader('Total Years')
|
322 |
st.metric(label='', value=total_years)
|
323 |
|
324 |
with col3:
|
|
|
334 |
col1, col2 = st.columns(2)
|
335 |
|
336 |
with col1:
|
337 |
+
st.subheader('Movie Releases by Year')
|
338 |
st.plotly_chart(fig_genre_movie_releases, use_container_width=True)
|
339 |
|
340 |
with col2:
|
341 |
+
st.subheader('Global Map')
|
342 |
st.plotly_chart(fig_global_map, use_container_width=True)
|
343 |
|
344 |
fig_avg_rating_by_genre = fetch_and_plot_average_rating_by_genre(conn)
|