Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,24 +16,20 @@ def authenticate_from_public(username, password):
|
|
16 |
return authenticate(username, password, dataset_url, dataset_path)
|
17 |
|
18 |
|
19 |
-
|
20 |
-
#
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
c700="#a1c6db", # Componennt borders
|
31 |
-
c800="#e4f3fa", # Background of components
|
32 |
-
c900="#a1c6db", # Etiquette of components
|
33 |
-
c950="#FFFFFF") # Background
|
34 |
# secondary color used for highlight box content when typing in light mode, and download option in dark mode
|
35 |
# primary color used for login button in dark mode
|
36 |
-
osium_theme = gr.themes.Default(primary_hue="cyan", secondary_hue="cyan", neutral_hue=
|
37 |
page_title = "Nanoparticles characterization"
|
38 |
favicon_path = "osiumai_favicon.ico"
|
39 |
logo_path = "osiumai_logo.jpg"
|
|
|
16 |
return authenticate(username, password, dataset_url, dataset_path)
|
17 |
|
18 |
|
19 |
+
light_theme_colors = gr.themes.Color(c50="#e4f3fa", # Dataframe background cell content - light mode only
|
20 |
+
c100="#e4f3fa", # Top corner of clear button in light mode + markdown text in dark mode
|
21 |
+
c200="#a1c6db", # Component borders
|
22 |
+
c300="#FFFFFF", #
|
23 |
+
c400="#e4f3fa", # Footer text
|
24 |
+
c500="#0c1538", # Text of component headers in light mode only
|
25 |
+
c600="#a1c6db", # Top corner of button in dark mode
|
26 |
+
c700="#475383", # Button text in light mode + component borders in dark mode
|
27 |
+
c800="#0c1538", # Markdown text in light mode
|
28 |
+
c900="#a1c6db", # Background of dataframe - dark mode
|
29 |
+
c950="#0c1538") # Background in dark mode only
|
|
|
|
|
|
|
|
|
30 |
# secondary color used for highlight box content when typing in light mode, and download option in dark mode
|
31 |
# primary color used for login button in dark mode
|
32 |
+
osium_theme = gr.themes.Default(primary_hue="cyan", secondary_hue="cyan", neutral_hue=light_theme_colors)
|
33 |
page_title = "Nanoparticles characterization"
|
34 |
favicon_path = "osiumai_favicon.ico"
|
35 |
logo_path = "osiumai_logo.jpg"
|