Update app.py
Browse files
app.py
CHANGED
@@ -95,24 +95,19 @@ def separate_audio(input_wav):
|
|
95 |
# 🎯 你提供的 description 內容(已轉為 HTML)
|
96 |
description_html = """
|
97 |
<h1 align='center'><a href='https://www.twman.org/AI/ASR/SpeechSeparation' target='_blank'>中文語者分離(分割)</a></h1>
|
98 |
-
<p align='center'><b
|
99 |
|
100 |
<div align='center'>
|
101 |
-
<a href='https://www.twman.org' target='_blank'>TonTon Huang Ph.D.</a> |
|
|
|
102 |
<a href='https://blog.twman.org/p/deeplearning101.html' target='_blank'>手把手帶你一起踩AI坑</a> |
|
103 |
<a href='https://github.com/Deep-Learning-101' target='_blank'>GitHub</a> |
|
104 |
-
<a href='http://deeplearning101.twman.org' target='_blank'>Deep Learning 101</a>
|
|
|
105 |
</div>
|
106 |
|
107 |
<br>
|
108 |
|
109 |
-
### 🔍 使用方式:
|
110 |
-
- 上傳一段包含兩人對話的混音音檔(支援 `.mp3`, `.wav`)
|
111 |
-
- 點擊「Separate」按鈕
|
112 |
-
- 分離出兩個說話人的音軌
|
113 |
-
|
114 |
-
<br>
|
115 |
-
|
116 |
### 📘 相關技術文章:
|
117 |
<ul>
|
118 |
<li><a href='https://blog.twman.org/2025/03/AIAgent.html' target='_blank'>避開 AI Agent 開發陷阱:常見問題、挑戰與解決方案 (那些 AI Agent 實戰踩過的坑)</a>:探討多種 AI Agent 工具的應用經驗與挑戰</li>
|
@@ -130,9 +125,7 @@ description_html = """
|
|
130 |
<li><a href='https://github.com/shibing624/pycorrector' target='_blank'>Masked Language Model (MLM) as correction BERT</a></li>
|
131 |
</ul>
|
132 |
|
133 |
-
<br
|
134 |
-
|
135 |
-
📢 *本模型基於 PyTorch + Hugging Face Hub 私有模型部署*
|
136 |
"""
|
137 |
|
138 |
if __name__ == "__main__":
|
|
|
95 |
# 🎯 你提供的 description 內容(已轉為 HTML)
|
96 |
description_html = """
|
97 |
<h1 align='center'><a href='https://www.twman.org/AI/ASR/SpeechSeparation' target='_blank'>中文語者分離(分割)</a></h1>
|
98 |
+
<p align='center'><b>上傳一段混音音檔 (支援 `.mp3`, `.wav`),自動分離出兩個人的聲音</b></p>
|
99 |
|
100 |
<div align='center'>
|
101 |
+
<a href='https://www.twman.org' target='_blank'>TonTon Huang Ph.D.</a> |
|
102 |
+
<a href='https://www.twman.org/AI' target='_blank'> AI </a> |
|
103 |
<a href='https://blog.twman.org/p/deeplearning101.html' target='_blank'>手把手帶你一起踩AI坑</a> |
|
104 |
<a href='https://github.com/Deep-Learning-101' target='_blank'>GitHub</a> |
|
105 |
+
<a href='http://deeplearning101.twman.org' target='_blank'>Deep Learning 101</a> |
|
106 |
+
<a href='https://www.youtube.com/c/DeepLearning101' target='_blank'>YouTube</a>
|
107 |
</div>
|
108 |
|
109 |
<br>
|
110 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
111 |
### 📘 相關技術文章:
|
112 |
<ul>
|
113 |
<li><a href='https://blog.twman.org/2025/03/AIAgent.html' target='_blank'>避開 AI Agent 開發陷阱:常見問題、挑戰與解決方案 (那些 AI Agent 實戰踩過的坑)</a>:探討多種 AI Agent 工具的應用經驗與挑戰</li>
|
|
|
125 |
<li><a href='https://github.com/shibing624/pycorrector' target='_blank'>Masked Language Model (MLM) as correction BERT</a></li>
|
126 |
</ul>
|
127 |
|
128 |
+
<br>
|
|
|
|
|
129 |
"""
|
130 |
|
131 |
if __name__ == "__main__":
|