Spaces:
Sleeping
Sleeping
Deepa Shalini commited on
Commit ·
f6ba808
1
Parent(s): 9b0b7dc
final commit for submission
Browse files- app.py +3 -3
- pages/overview.py +14 -8
- utils/components.py +1 -1
app.py
CHANGED
|
@@ -43,7 +43,7 @@ left_nav_bar = html.Div(
|
|
| 43 |
dmc.NavLink(label="USA Presidential Elections (1976-2020)", description="Sample dataset", href="/chartbot/us-elections", id="nav-us-elections"),
|
| 44 |
dmc.NavLink(label="English Women's Football Matches (2011-2024)", description="Sample dataset", href="/chartbot/football", id="nav-football"),
|
| 45 |
dmc.NavLink(label="Amazon Purchases 2021 (Sample)", description="Sample dataset", href="/chartbot/amazon-purchases", id="nav-amazon-purchases"),
|
| 46 |
-
dmc.NavLink(label="Space Missions (2000-2022)", description="Sample dataset", href="/chartbot/space-missions", id="nav-space-missions"),
|
| 47 |
dmc.NavLink(label="Upload your data", href="/chartbot", id="nav-upload"),
|
| 48 |
],
|
| 49 |
),
|
|
@@ -109,7 +109,7 @@ def toggle_aside(pathname):
|
|
| 109 |
Output("nav-us-elections", "style"),
|
| 110 |
Output("nav-football", "style"),
|
| 111 |
Output("nav-amazon-purchases", "style"),
|
| 112 |
-
Output("nav-space-missions", "style"),
|
| 113 |
Output("nav-upload", "style"),
|
| 114 |
Output("nav-roadmap", "style"),
|
| 115 |
Output("nav-faqs", "style"),
|
|
@@ -124,7 +124,7 @@ def update_navlink_styles(pathname):
|
|
| 124 |
active_style if pathname == "/chartbot/us-elections" else style,
|
| 125 |
active_style if pathname == "/chartbot/football" else style,
|
| 126 |
active_style if pathname == "/chartbot/amazon-purchases" else style,
|
| 127 |
-
active_style if pathname == "/chartbot/space-missions" else style,
|
| 128 |
active_style if pathname == "/chartbot" else style,
|
| 129 |
active_style if pathname == "/product-roadmap" else style,
|
| 130 |
active_style if pathname == "/faqs" else style
|
|
|
|
| 43 |
dmc.NavLink(label="USA Presidential Elections (1976-2020)", description="Sample dataset", href="/chartbot/us-elections", id="nav-us-elections"),
|
| 44 |
dmc.NavLink(label="English Women's Football Matches (2011-2024)", description="Sample dataset", href="/chartbot/football", id="nav-football"),
|
| 45 |
dmc.NavLink(label="Amazon Purchases 2021 (Sample)", description="Sample dataset", href="/chartbot/amazon-purchases", id="nav-amazon-purchases"),
|
| 46 |
+
#dmc.NavLink(label="Space Missions (2000-2022)", description="Sample dataset", href="/chartbot/space-missions", id="nav-space-missions"),
|
| 47 |
dmc.NavLink(label="Upload your data", href="/chartbot", id="nav-upload"),
|
| 48 |
],
|
| 49 |
),
|
|
|
|
| 109 |
Output("nav-us-elections", "style"),
|
| 110 |
Output("nav-football", "style"),
|
| 111 |
Output("nav-amazon-purchases", "style"),
|
| 112 |
+
#Output("nav-space-missions", "style"),
|
| 113 |
Output("nav-upload", "style"),
|
| 114 |
Output("nav-roadmap", "style"),
|
| 115 |
Output("nav-faqs", "style"),
|
|
|
|
| 124 |
active_style if pathname == "/chartbot/us-elections" else style,
|
| 125 |
active_style if pathname == "/chartbot/football" else style,
|
| 126 |
active_style if pathname == "/chartbot/amazon-purchases" else style,
|
| 127 |
+
#active_style if pathname == "/chartbot/space-missions" else style,
|
| 128 |
active_style if pathname == "/chartbot" else style,
|
| 129 |
active_style if pathname == "/product-roadmap" else style,
|
| 130 |
active_style if pathname == "/faqs" else style
|
pages/overview.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import dash
|
| 2 |
-
from dash import html
|
| 3 |
import dash_mantine_components as dmc
|
| 4 |
import dash_bootstrap_components as dbc
|
| 5 |
|
|
@@ -9,17 +9,23 @@ dash.register_page(__name__, path='/', name='Overview', order=1)
|
|
| 9 |
|
| 10 |
layout = dbc.Container([
|
| 11 |
dbc.Col([
|
| 12 |
-
dmc.Title("EmPower.AI - A cost-effective reporting ChaRtBot", className="app-title"),
|
| 13 |
-
html.Hr(),
|
| 14 |
-
dmc.Text("Like a ChatBot, wherein the user can upload a CSV file and enter a prompt, or ask a question.",
|
| 15 |
-
size="xl"),
|
| 16 |
-
dmc.Text("Unlinke a ChatBot which responds in plain text, this ChaRtBot will generate data visualizations (charts) in response to the user's query.",
|
| 17 |
-
size="xl"),
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
html.Br(),
|
| 20 |
|
| 21 |
dmc.Group([
|
| 22 |
-
components.summary_card("Try the ChaRtBot", "Test the ChaRtBot with popular
|
| 23 |
|
| 24 |
components.summary_card("Roadmap for EmPower.AI", "Check out the product roadmap for EmPower.AI and how it can help Thermo Fisher Scientific Inc."),
|
| 25 |
|
|
|
|
| 1 |
import dash
|
| 2 |
+
from dash import html, dcc
|
| 3 |
import dash_mantine_components as dmc
|
| 4 |
import dash_bootstrap_components as dbc
|
| 5 |
|
|
|
|
| 9 |
|
| 10 |
layout = dbc.Container([
|
| 11 |
dbc.Col([
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
+
dmc.Title("EmPower.AI - A cost-effective reporting ChaRtBot", className="app-title"),
|
| 14 |
+
html.Hr(),
|
| 15 |
+
|
| 16 |
+
html.Div([
|
| 17 |
+
dcc.Markdown("### _**Talk to your data, and watch it come to life in charts!**_"),
|
| 18 |
+
html.Br(),
|
| 19 |
+
dmc.Text("EmPower.AI transforms the way you interact with data. It's a cost-effective reporting ChaRtBot. A ChaRtBot is like a ChatBot, wherein the user can upload a CSV file and enter a prompt, or ask a question. Unlinke a ChatBot which responds in plain text, this ChaRtBot will generate data visualizations.", size="xl"),
|
| 20 |
+
dmc.Text("A simple PowerBI dashboard with clean data and few visuals can take 2-4 hours, a medium complexity dashboard which requires data transformations can take 4-8 hours, and a complex dashboard can take 1-3 days. With EmPower.AI, you can get the same results in a matter of seconds.", size="xl"),
|
| 21 |
+
dmc.Text("No more sifting through spreadsheets — just ask, and ChaRtBot delivers charts tailored to your needs.", size="xl"),
|
| 22 |
+
dmc.Text(["Plus, ", dmc.Mark("you can download and embed these charts as HTML in SharePoint, eliminating the need for expensive PowerBI premium subscriptions.", color="lime")], size="xl"),
|
| 23 |
+
]),
|
| 24 |
+
|
| 25 |
html.Br(),
|
| 26 |
|
| 27 |
dmc.Group([
|
| 28 |
+
components.summary_card("Try the ChaRtBot", "Test the ChaRtBot with popular sample datasets or upload your own .csv or .xlsx data.", isButtonMenu=True),
|
| 29 |
|
| 30 |
components.summary_card("Roadmap for EmPower.AI", "Check out the product roadmap for EmPower.AI and how it can help Thermo Fisher Scientific Inc."),
|
| 31 |
|
utils/components.py
CHANGED
|
@@ -33,7 +33,7 @@ def summary_card(
|
|
| 33 |
dmc.MenuItem("USA Presidential Elections (1976-2020)", href="/chartbot/us-elections"),
|
| 34 |
dmc.MenuItem("English Women's Football Matches (2011-2024)", href="/chartbot/football"),
|
| 35 |
dmc.MenuItem("Amazon Purchases 2021 (Sample)", href="/chartbot/amazon-purchases"),
|
| 36 |
-
dmc.MenuItem("Space Missions (2000-2022)", href="/chartbot/space-missions"),
|
| 37 |
dmc.MenuItem("Upload your data", href="/chartbot")
|
| 38 |
])
|
| 39 |
])
|
|
|
|
| 33 |
dmc.MenuItem("USA Presidential Elections (1976-2020)", href="/chartbot/us-elections"),
|
| 34 |
dmc.MenuItem("English Women's Football Matches (2011-2024)", href="/chartbot/football"),
|
| 35 |
dmc.MenuItem("Amazon Purchases 2021 (Sample)", href="/chartbot/amazon-purchases"),
|
| 36 |
+
#dmc.MenuItem("Space Missions (2000-2022)", href="/chartbot/space-missions"),
|
| 37 |
dmc.MenuItem("Upload your data", href="/chartbot")
|
| 38 |
])
|
| 39 |
])
|