Penguni commited on
Commit
f4d646d
·
verified ·
1 Parent(s): da142a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def fetch_and_plot_average_rating_by_genre(conn):
61
  df = pd.read_sql_query(query, conn)
62
 
63
  # Function to extract the first genre from the genres list
64
- def extract_first_genre(genres):
65
  if genres:
66
  return genres.split(',')[0].strip()
67
  else:
 
61
  df = pd.read_sql_query(query, conn)
62
 
63
  # Function to extract the first genre from the genres list
64
+ def extract_first_genre(genres):
65
  if genres:
66
  return genres.split(',')[0].strip()
67
  else: