thak123 commited on
Commit
7758b50
1 Parent(s): 68fe85e

Update index.py

Browse files
Files changed (1) hide show
  1. index.py +1 -1
index.py CHANGED
@@ -141,7 +141,7 @@ dbc.Row([ # row 11
141
  Input('date-range', 'end_date')
142
  )
143
  # callback function
144
- def update_output(selected_topic, start_date, end_date):
145
  # filter dataframes based on updated data range
146
  mask_1 = ((df["Topic"] == selected_topic) & (df['date'] >= start_date) & (df['date'] <= end_date))
147
  df_filtered = df.loc[mask_1]
 
141
  Input('date-range', 'end_date')
142
  )
143
  # callback function
144
+ def update_output(selected_topic, selected_domain, start_date, end_date):
145
  # filter dataframes based on updated data range
146
  mask_1 = ((df["Topic"] == selected_topic) & (df['date'] >= start_date) & (df['date'] <= end_date))
147
  df_filtered = df.loc[mask_1]