fschwartzer commited on
Commit
5cdc637
·
1 Parent(s): 994bcfa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -3
app.py CHANGED
@@ -74,25 +74,42 @@ for index, row in data.iterrows():
74
  # Calculate a zoom level based on the maximum distance
75
  zoom_level = round(17 - np.log10(max_distance))
76
 
 
77
  title_html = """
 
 
 
 
 
78
  <span style='color: gray; font-size: 50px;'>aval</span>
79
  <span style='color: white; font-size: 50px;'>ia</span>
80
  <span style='color: gray; font-size: 50px;'>.NEXUS</span>
81
  """
82
 
 
83
  factor_html = """
 
 
 
 
 
84
  <a href='https://huggingface.co/spaces/DavidSB/avaliaFACTOR' target='_blank' style='text-decoration: none; color: inherit;'>
85
  <span style='color: gray; font-size: 20px;'>aval</span>
86
  <span style='color: white; font-size: 20px;'>ia</span>
87
  <span style='color: gray; font-size: 20px;'>.FACTOR</span>
88
  """
89
 
 
90
  evo_html = """
 
 
 
 
 
91
  <a href='https://huggingface.co/spaces/DavidSB/avalia.EVO' target='_blank' style='text-decoration: none; color: inherit;'>
92
  <span style='color: gray; font-size: 20px;'>aval</span>
93
- <span style='color: white; font-size: 20px;'>ia</span>
94
- <span style='color: gray; font-size: 20px;'>.EVO</span>
95
- """
96
 
97
  # Create a sidebar for controls
98
  with st.sidebar:
 
74
  # Calculate a zoom level based on the maximum distance
75
  zoom_level = round(17 - np.log10(max_distance))
76
 
77
+ # Set font to 'Quicksand' for title_html
78
  title_html = """
79
+ <style>
80
+ body {{
81
+ font-family: 'Quicksand', sans-serif;
82
+ }}
83
+ </style>
84
  <span style='color: gray; font-size: 50px;'>aval</span>
85
  <span style='color: white; font-size: 50px;'>ia</span>
86
  <span style='color: gray; font-size: 50px;'>.NEXUS</span>
87
  """
88
 
89
+ # Set font to 'Quicksand' for factor_html
90
  factor_html = """
91
+ <style>
92
+ body {{
93
+ font-family: 'Quicksand', sans-serif;
94
+ }}
95
+ </style>
96
  <a href='https://huggingface.co/spaces/DavidSB/avaliaFACTOR' target='_blank' style='text-decoration: none; color: inherit;'>
97
  <span style='color: gray; font-size: 20px;'>aval</span>
98
  <span style='color: white; font-size: 20px;'>ia</span>
99
  <span style='color: gray; font-size: 20px;'>.FACTOR</span>
100
  """
101
 
102
+ # Set font to 'Quicksand' for evo_html
103
  evo_html = """
104
+ <style>
105
+ body {{
106
+ font-family: 'Quicksand', sans-serif;
107
+ }}
108
+ </style>
109
  <a href='https://huggingface.co/spaces/DavidSB/avalia.EVO' target='_blank' style='text-decoration: none; color: inherit;'>
110
  <span style='color: gray; font-size: 20px;'>aval</span>
111
+
112
+
 
113
 
114
  # Create a sidebar for controls
115
  with st.sidebar: