kargaranamir
commited on
Commit
•
9034973
1
Parent(s):
02fd08a
disable redirect.
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import pandas as pd
|
2 |
import streamlit as st
|
3 |
-
from utils import
|
4 |
|
5 |
data = combine_json_files('./languages')
|
6 |
|
@@ -100,9 +100,6 @@ def main():
|
|
100 |
if 'links' in params:
|
101 |
render_links_table(params['isocode'])
|
102 |
|
103 |
-
elif 'home' not in params:
|
104 |
-
# redirect to .space
|
105 |
-
nav_to('https://cis-lmu-glotweb.hf.space/?home=True')
|
106 |
else:
|
107 |
# show home
|
108 |
render_metadata()
|
|
|
1 |
import pandas as pd
|
2 |
import streamlit as st
|
3 |
+
from utils import df_to_html, render_svg, combine_json_files, render_metadata
|
4 |
|
5 |
data = combine_json_files('./languages')
|
6 |
|
|
|
100 |
if 'links' in params:
|
101 |
render_links_table(params['isocode'])
|
102 |
|
|
|
|
|
|
|
103 |
else:
|
104 |
# show home
|
105 |
render_metadata()
|