jiaheillu commited on
Commit
fa4faf0
1 Parent(s): 7168cf0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -0
README.md CHANGED
@@ -11,6 +11,8 @@ size_categories:
11
  pretty_name: genshin_voice_sovits
12
  ---
13
  # 预览
 
 
14
  <a href="https://huggingface.co/datasets/jiaheillu/sovits_audio_preview/blob/main/README.md" target="_self">简体中文</a>|
15
  <a href="https://huggingface.co/datasets/jiaheillu/sovits_audio_preview/blob/main/README_EN.md" target="_blank">English</a>|
16
  <a href="https://huggingface.co/datasets/jiaheillu/sovits_audio_preview/blob/main/README_JP.md" target="_blank">日本語</a>
@@ -22,6 +24,39 @@ pretty_name: genshin_voice_sovits
22
  有推荐的歌想要转换听听效果,或者其他内容建议,[**点我**](https://huggingface.co/datasets/jiaheillu/audio_preview/discussions/new)发起讨论</br>
23
  下面是预览音频,**上下左右滑动**可以看到全部
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  <style>
26
  .scrolling-container {
27
  width: 100%;
 
11
  pretty_name: genshin_voice_sovits
12
  ---
13
  # 预览
14
+
15
+ https://huggingface.co/datasets/jiaheillu/sovits_audio_preview
16
  <a href="https://huggingface.co/datasets/jiaheillu/sovits_audio_preview/blob/main/README.md" target="_self">简体中文</a>|
17
  <a href="https://huggingface.co/datasets/jiaheillu/sovits_audio_preview/blob/main/README_EN.md" target="_blank">English</a>|
18
  <a href="https://huggingface.co/datasets/jiaheillu/sovits_audio_preview/blob/main/README_JP.md" target="_blank">日本語</a>
 
24
  有推荐的歌想要转换听听效果,或者其他内容建议,[**点我**](https://huggingface.co/datasets/jiaheillu/audio_preview/discussions/new)发起讨论</br>
25
  下面是预览音频,**上下左右滑动**可以看到全部
26
 
27
+ <style>
28
+ .highlight {
29
+ font-weight: bold;
30
+ color: blue;
31
+ }
32
+ </style>
33
+
34
+ <script>
35
+ function highlightAndDisable(linkID) {
36
+ document.getElementById(linkID).removeAttribute("href");
37
+ document.getElementById(linkID).classList.add("highlight");
38
+ }
39
+
40
+ function checkLanguage() {
41
+ let pathname = window.location.pathname;
42
+ if (pathname.includes("sovits_audio_preview") && !pathname.includes("README_")) {
43
+ highlightAndDisable("chinese");
44
+ } else if (pathname.includes("README_EN.md")) {
45
+ highlightAndDisable("english");
46
+ } else if (pathname.includes("README_JP.md")) {
47
+ highlightAndDisable("japanese");
48
+ }
49
+ }
50
+
51
+ // 使用window.onload事件在页面加载完成后调用checkLanguage()函数
52
+ window.onload = checkLanguage;
53
+ </script>
54
+
55
+ <a id="chinese" href="https://huggingface.co/datasets/jiaheillu/sovits_audio_preview">简体中文</a>|
56
+ <a id="english" href="https://huggingface.co/datasets/jiaheillu/sovits_audio_preview/blob/main/README_EN.md">English</a>|
57
+ <a id="japanese" href="https://huggingface.co/datasets/jiaheillu/sovits_audio_preview/blob/main/README_JP.md">日本語</a>
58
+
59
+
60
  <style>
61
  .scrolling-container {
62
  width: 100%;