Skip to content

Commit

Permalink
create folder for csv inputs to dash
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedbesbes committed Oct 29, 2019
1 parent 7415723 commit f67f6f9
Show file tree
Hide file tree
Showing 2 changed files with 4,247 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/dash/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
]
)

companies = pd.read_csv('../data/scraping/companies.csv')
companies = pd.read_csv('./csv/companies.csv')

app.layout = html.Div(
[
Expand Down Expand Up @@ -110,7 +110,7 @@
# role="submit"
),
html.P(
"BESBES / DEBBICHE - 2019",
"© BESBES / DEBBICHE - 2019",
className="mt-5 mb-3 text-muted"
)
],
Expand All @@ -119,7 +119,8 @@


@app.callback(
[Output('company_logo', 'src'), Output('company_name', 'children'), Output('review', 'value')],
[Output('company_logo', 'src'), Output(
'company_name', 'children'), Output('review', 'value')],
[Input('another-brand', 'n_clicks')]
)
def change_brand(n_clicks):
Expand Down
Loading

0 comments on commit f67f6f9

Please sign in to comment.