ToluClassics commited on
Commit
de79eb1
1 Parent(s): 8f5172c

Add application file

Browse files
Files changed (1) hide show
  1. app.py +15 -3
app.py CHANGED
@@ -10,10 +10,22 @@ import streamlit as st
10
  import streamlit.components.v1 as components
11
  import requests
12
 
13
- os.environ["address"] = "http://34.79.83.149:8080"
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="https://github.com/AlekseyKorshuk/huggingartists" target="_blank">GitHub</a> | <a href="https://wandb.ai/huggingartists/huggingartists/reportlist" target="_blank">Project Report</a>
57
  </p>
58
  <p class="aligncenter">
59
- <a href="https://colab.research.google.com/github/AlekseyKorshuk/huggingartists/blob/master/huggingartists-demo.ipynb" target="_blank">
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>