thak123 commited on
Commit
5b0824e
·
verified ·
1 Parent(s): e42b8e3

Update index.py

Browse files
Files changed (1) hide show
  1. index.py +4 -2
index.py CHANGED
@@ -167,6 +167,8 @@ app.layout = dbc.Container([
167
  'height': 'auto',
168
  'minWidth': '180px', 'width': '180px', 'maxWidth': '180px',
169
  },
 
 
170
  )
171
  )
172
  ])
@@ -194,7 +196,7 @@ app.layout = dbc.Container([
194
  Output('line-graph-2', 'figure'),
195
  Output('pie-container-2', 'figure'),
196
  Input("topic-selector", "value"),
197
- Input ("domain-selector", "value"),
198
  Input('date-range', 'start_date'),
199
  Input('date-range', 'end_date')
200
  )
@@ -352,7 +354,7 @@ def update_output(selected_topic, selected_domain, start_date, end_date):
352
  @app.callback(
353
  Output('headlines-table', 'data'),
354
  Input("topic-selector", "value"),
355
- Input ("domain-selector", "value"),
356
  Input('date-range', 'start_date'),
357
  Input('date-range', 'end_date')
358
  )
 
167
  'height': 'auto',
168
  'minWidth': '180px', 'width': '180px', 'maxWidth': '180px',
169
  },
170
+ page_current= 0,
171
+ page_size= 10,
172
  )
173
  )
174
  ])
 
196
  Output('line-graph-2', 'figure'),
197
  Output('pie-container-2', 'figure'),
198
  Input("topic-selector", "value"),
199
+ Input("domain-selector", "value"),
200
  Input('date-range', 'start_date'),
201
  Input('date-range', 'end_date')
202
  )
 
354
  @app.callback(
355
  Output('headlines-table', 'data'),
356
  Input("topic-selector", "value"),
357
+ Input("domain-selector", "value"),
358
  Input('date-range', 'start_date'),
359
  Input('date-range', 'end_date')
360
  )