Spaces:
Runtime error
Runtime error
ToluClassics
commited on
Commit
•
de79eb1
1
Parent(s):
8f5172c
Add application file
Browse files
app.py
CHANGED
@@ -10,10 +10,22 @@ import streamlit as st
|
|
10 |
import streamlit.components.v1 as components
|
11 |
import requests
|
12 |
|
13 |
-
|
14 |
pp = pprint.PrettyPrinter(indent=2)
|
15 |
st.set_page_config(page_title="Gaia Search", layout="wide")
|
16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
LANG_MAPPING = {'Arabic':'ar',
|
18 |
'Catalan':'ca',
|
19 |
'Code':'code',
|
@@ -53,10 +65,10 @@ st.sidebar.markdown(
|
|
53 |
}
|
54 |
</style>
|
55 |
<p style='text-align: center'>
|
56 |
-
<a href="
|
57 |
</p>
|
58 |
<p class="aligncenter">
|
59 |
-
<a href="
|
60 |
<img src="https://colab.research.google.com/assets/colab-badge.svg"/>
|
61 |
</a>
|
62 |
</p>
|
|
|
10 |
import streamlit.components.v1 as components
|
11 |
import requests
|
12 |
|
13 |
+
|
14 |
pp = pprint.PrettyPrinter(indent=2)
|
15 |
st.set_page_config(page_title="Gaia Search", layout="wide")
|
16 |
|
17 |
+
with open("~/.streamlit/config.toml", "w") as file:
|
18 |
+
file.write(
|
19 |
+
"""
|
20 |
+
[theme]
|
21 |
+
primaryColor="#F63366"
|
22 |
+
backgroundColor="#FFFFFF"
|
23 |
+
secondaryBackgroundColor="#F0F2F6"
|
24 |
+
textColor="#262730"
|
25 |
+
font="sans serif"
|
26 |
+
"""
|
27 |
+
)
|
28 |
+
|
29 |
LANG_MAPPING = {'Arabic':'ar',
|
30 |
'Catalan':'ca',
|
31 |
'Code':'code',
|
|
|
65 |
}
|
66 |
</style>
|
67 |
<p style='text-align: center'>
|
68 |
+
<a href="" target="_blank">GitHub</a> | <a href="" target="_blank">Project Report</a>
|
69 |
</p>
|
70 |
<p class="aligncenter">
|
71 |
+
<a href="" target="_blank">
|
72 |
<img src="https://colab.research.google.com/assets/colab-badge.svg"/>
|
73 |
</a>
|
74 |
</p>
|