Spaces:
Runtime error
Runtime error
kbberendsen
commited on
Commit
•
6a0c8a8
1
Parent(s):
4670881
Update app.py
Browse filesremove styling from title
app.py
CHANGED
@@ -38,10 +38,7 @@ drivers_2022 = {'Fastest driver': 'Fastest driver', 'VER': 'Max Verstappen',
|
|
38 |
|
39 |
app_ui = ui.page_fluid(
|
40 |
shinyswatch.theme.minty(),
|
41 |
-
ui.
|
42 |
-
{"style": "position: fixed; left: calc(50% - 150px); top: 0px;"},
|
43 |
-
ui.panel_title("Gear usage in fastest lap"),
|
44 |
-
),
|
45 |
ui.layout_sidebar(
|
46 |
ui.panel_sidebar(
|
47 |
ui.input_select(
|
@@ -126,7 +123,7 @@ def server(input, output, session):
|
|
126 |
def get_data_1():
|
127 |
try:
|
128 |
ui.div(
|
129 |
-
{"style": "position: fixed; left: calc(50%
|
130 |
ui.notification_show("Data takes a couple seconds to load.", duration=3, type = 'default'),
|
131 |
)
|
132 |
|
|
|
38 |
|
39 |
app_ui = ui.page_fluid(
|
40 |
shinyswatch.theme.minty(),
|
41 |
+
ui.panel_title("Gear usage in fastest lap"),
|
|
|
|
|
|
|
42 |
ui.layout_sidebar(
|
43 |
ui.panel_sidebar(
|
44 |
ui.input_select(
|
|
|
123 |
def get_data_1():
|
124 |
try:
|
125 |
ui.div(
|
126 |
+
{"style": "position: fixed; left: calc(50%);"},
|
127 |
ui.notification_show("Data takes a couple seconds to load.", duration=3, type = 'default'),
|
128 |
)
|
129 |
|