Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,22 +39,24 @@ def authenticate_debug(username, password):
|
|
39 |
return username == password
|
40 |
|
41 |
css_styling = """#submit {background: #1eccd8}
|
42 |
-
#submit {
|
43 |
-
.output-image, .input-image, .image-preview {height: 250px !important}
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
55 |
# secondary color used for highlight box content when typing in light mode, and download option in dark mode
|
56 |
# primary color used for login button in dark mode
|
57 |
-
osium_theme = gr.themes.Default(primary_hue="cyan", secondary_hue="cyan", neutral_hue=
|
58 |
page_title = "Alloys inverse design"
|
59 |
favicon_path = "osiumai_favicon.ico"
|
60 |
logo_path = "osiumai_logo.jpg"
|
|
|
39 |
return username == password
|
40 |
|
41 |
css_styling = """#submit {background: #1eccd8}
|
42 |
+
#submit:hover {background: #a2f1f6}
|
43 |
+
.output-image, .input-image, .image-preview {height: 250px !important}
|
44 |
+
.output-plot {height: 250px !important}"""
|
45 |
+
|
46 |
+
light_theme_colors = gr.themes.Color(c50="#e4f3fa", # Dataframe background cell content - light mode only
|
47 |
+
c100="#e4f3fa", # Top corner of clear button in light mode + markdown text in dark mode
|
48 |
+
c200="#a1c6db", # Component borders
|
49 |
+
c300="#FF00FF", #
|
50 |
+
c400="#e4f3fa", # Footer text
|
51 |
+
c500="#0c1538", # Text of component headers in light mode only
|
52 |
+
c600="#a1c6db", # Top corner of button in dark mode
|
53 |
+
c700="#475383", # Button text in light mode + component borders in dark mode
|
54 |
+
c800="#0c1538", # Markdown text in light mode
|
55 |
+
c900="#a1c6db", # Background of dataframe - dark mode
|
56 |
+
c950="#0c1538") # Background in dark mode only
|
57 |
# secondary color used for highlight box content when typing in light mode, and download option in dark mode
|
58 |
# primary color used for login button in dark mode
|
59 |
+
osium_theme = gr.themes.Default(primary_hue="cyan", secondary_hue="cyan", neutral_hue=light_theme_colors)
|
60 |
page_title = "Alloys inverse design"
|
61 |
favicon_path = "osiumai_favicon.ico"
|
62 |
logo_path = "osiumai_logo.jpg"
|