From 928f533260babd1b8f05b734d355ad15464be994 Mon Sep 17 00:00:00 2001 From: Hoekstra Date: Tue, 23 Mar 2021 14:58:06 +0100 Subject: [PATCH] fix bug concerning wrong initialization of the graph when multiple users access the webpage (at least I think that was the issue...) --- dash_app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dash_app/app.py b/dash_app/app.py index 6f815e9..a29da9a 100644 --- a/dash_app/app.py +++ b/dash_app/app.py @@ -33,7 +33,7 @@ app.layout = html.Div(children=[ html.H2(children='Term:'), ]), html.Div(className='col-9', children=[ - dcc.Input(id='base-word-input', value='', type='text', className='form-control form-control-lg'), + dcc.Input(id='base-word-input', value='fruit', type='text', className='form-control form-control-lg'), ]), html.Div(className='col-2', children=[ html.Button(id='submit-word-button', n_clicks_timestamp=0, children='Submit Term', className='btn btn-success btn-lg')]), -- GitLab