txya900619
commited on
Commit
•
d7f615a
1
Parent(s):
d49abc8
fix: ypspt name and load title from DEMO.md
Browse files
DEMO.md
CHANGED
@@ -11,7 +11,7 @@ ILRDF Formosan Automatic-Speech-Recognition System
|
|
11 |
|
12 |
## 特別致謝
|
13 |
- [聯和科創](https://www.104.com.tw/company/1a2x6bmu75)
|
14 |
-
- [台灣阿美族語言永續發展學會/原民會阿美族語言推動組織](https://www.facebook.com/groups/ypspt/about)
|
15 |
- [台灣太魯閣族語言發展學會](https://qkktt.com/)
|
16 |
- [台灣原住民族賽德克族語言文化學會](https://www.facebook.com/3S3TBL/)
|
17 |
- 族語老師們
|
|
|
11 |
|
12 |
## 特別致謝
|
13 |
- [聯和科創](https://www.104.com.tw/company/1a2x6bmu75)
|
14 |
+
- [Pipalofasaran to Sowal no Pangcah/'Amis 台灣阿美族語言永續發展學會/原民會阿美族語言推動組織](https://www.facebook.com/groups/ypspt/about)
|
15 |
- [台灣太魯閣族語言發展學會](https://qkktt.com/)
|
16 |
- [台灣原住民族賽德克族語言文化學會](https://www.facebook.com/3S3TBL/)
|
17 |
- 族語老師們
|
app.py
CHANGED
@@ -71,9 +71,12 @@ def when_model_selected(model_id: str):
|
|
71 |
visible=True,
|
72 |
)
|
73 |
|
|
|
|
|
|
|
74 |
|
75 |
demo = gr.Blocks(
|
76 |
-
title=
|
77 |
css="@import url(https://tauhu.tw/tauhu-oo.css);",
|
78 |
theme=gr.themes.Default(
|
79 |
font=(
|
|
|
71 |
visible=True,
|
72 |
)
|
73 |
|
74 |
+
def get_title():
|
75 |
+
with open("DEMO.md") as tong:
|
76 |
+
return tong.readline().strip('# ')
|
77 |
|
78 |
demo = gr.Blocks(
|
79 |
+
title=get_title(),
|
80 |
css="@import url(https://tauhu.tw/tauhu-oo.css);",
|
81 |
theme=gr.themes.Default(
|
82 |
font=(
|