Spaces:
Runtime error
Runtime error
added theme configuration file
Browse files- .streamlit/config.toml +4 -0
- README.md +2 -0
- app.py +2 -6
- config.toml +0 -2
.streamlit/config.toml
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[theme]
|
| 2 |
+
backgroundColor="#0a3144"
|
| 3 |
+
secondaryBackgroundColor="#0f4d60"
|
| 4 |
+
textColor="#dedede"
|
README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
---
|
| 2 |
title: Model CC Space
|
| 3 |
emoji: ✉️
|
|
|
|
|
|
|
| 4 |
colorFrom: purple
|
| 5 |
colorTo: yellow
|
| 6 |
sdk: streamlit
|
|
|
|
| 1 |
---
|
| 2 |
title: Model CC Space
|
| 3 |
emoji: ✉️
|
| 4 |
+
colorFrom: green
|
| 5 |
+
colorTo: indigo
|
| 6 |
colorFrom: purple
|
| 7 |
colorTo: yellow
|
| 8 |
sdk: streamlit
|
app.py
CHANGED
|
@@ -25,12 +25,8 @@ import numpy as np
|
|
| 25 |
import timeit
|
| 26 |
import shutil
|
| 27 |
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
# res=os.getcwd()
|
| 31 |
-
res=os.listdir("/home/user/")
|
| 32 |
-
st.markdown('#### Current path is: <span style="color:blue">{}</span>'.format(
|
| 33 |
-
res), unsafe_allow_html=True)
|
| 34 |
|
| 35 |
def table_data():
|
| 36 |
# creating table data
|
|
|
|
| 25 |
import timeit
|
| 26 |
import shutil
|
| 27 |
|
| 28 |
+
CURRENT_THEME = "blue"
|
| 29 |
+
IS_DARK_THEME = True
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
def table_data():
|
| 32 |
# creating table data
|
config.toml
DELETED
|
@@ -1,2 +0,0 @@
|
|
| 1 |
-
[theme]
|
| 2 |
-
base="dark"
|
|
|
|
|
|
|
|
|