ToluClassics commited on
Commit
26d4301
1 Parent(s): f268956
Files changed (3) hide show
  1. .streamlit/config.toml +1 -5
  2. app.py +3 -6
  3. ~/.streamlit/config.toml +4 -0
.streamlit/config.toml CHANGED
@@ -1,6 +1,2 @@
1
  [theme]
2
- primaryColor="#F63366"
3
- backgroundColor="#FFFFFF"
4
- secondaryBackgroundColor="#F0F2F6"
5
- textColor="#262730"
6
- font="sans serif"
1
  [theme]
2
+ base="light"
 
 
 
 
app.py CHANGED
@@ -14,13 +14,10 @@ import requests
14
  pp = pprint.PrettyPrinter(indent=2)
15
  st.set_page_config(page_title="Gaia Search", layout="wide")
16
 
17
- os.makedirs("~/.streamlit/", exist_ok = True)
18
- with open("~/.streamlit/config.toml", "w") as file:
19
  file.write(
20
- """
21
- [theme]
22
- base = "light"
23
- """
24
  )
25
 
26
  LANG_MAPPING = {'Arabic':'ar',
14
  pp = pprint.PrettyPrinter(indent=2)
15
  st.set_page_config(page_title="Gaia Search", layout="wide")
16
 
17
+ os.makedirs(os.path.join(os.getcwd(),".streamlit"), exist_ok = True)
18
+ with open(os.path.join(os.getcwd(),".streamlit/config.toml"), "w") as file:
19
  file.write(
20
+ '[theme]\nbase="light"'
 
 
 
21
  )
22
 
23
  LANG_MAPPING = {'Arabic':'ar',
~/.streamlit/config.toml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+
2
+ [theme]
3
+ base = "light"
4
+