Spaces:
Sleeping
Sleeping
smile
commited on
Commit
·
b538fd2
1
Parent(s):
8c7bc9b
update app.py
Browse files- LICENSE +1 -1
- app.py +8 -12
- app/ui/home.py +1 -1
LICENSE
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
MIT License
|
2 |
|
3 |
-
Copyright (c)
|
4 |
|
5 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
of this software and associated documentation files (the "Software"), to deal
|
|
|
1 |
MIT License
|
2 |
|
3 |
+
Copyright (c)
|
4 |
|
5 |
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6 |
of this software and associated documentation files (the "Software"), to deal
|
app.py
CHANGED
@@ -9,17 +9,13 @@ from app.ui.about import init_about
|
|
9 |
import gradio as gr
|
10 |
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
about = init_about()
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
|
23 |
-
|
24 |
-
if __name__ == '__main__':
|
25 |
-
main()
|
|
|
9 |
import gradio as gr
|
10 |
|
11 |
|
12 |
+
home = init_home()
|
13 |
+
about = init_about()
|
|
|
14 |
|
15 |
+
demo = gr.TabbedInterface(
|
16 |
+
[home, about],
|
17 |
+
["Home", "About"],
|
18 |
+
css="footer {display: none} .sort-button.svelte-1bvc1p0.svelte-1bvc1p0.svelte-1bvc1p0 {display: none;}"
|
19 |
+
)
|
20 |
+
demo.launch()
|
21 |
|
|
|
|
|
|
app/ui/home.py
CHANGED
@@ -27,7 +27,7 @@ def init_home():
|
|
27 |
|
28 |
with gr.Blocks(css=HOME_CSS) as block:
|
29 |
gr.Markdown(f"""
|
30 |
-
[Voyageai] Massive Text Embedding Benchmark (MTEB) Leaderboard.
|
31 |
""")
|
32 |
|
33 |
filter_area = FilterComponent(
|
|
|
27 |
|
28 |
with gr.Blocks(css=HOME_CSS) as block:
|
29 |
gr.Markdown(f"""
|
30 |
+
[Voyageai] Massive Text Embedding Benchmark (MTEB) Leaderboard.
|
31 |
""")
|
32 |
|
33 |
filter_area = FilterComponent(
|