Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ mf_transcribe = gr.Interface(
|
|
96 |
fn=transcribe,
|
97 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
98 |
outputs="text",
|
99 |
-
title="
|
100 |
description=(
|
101 |
"只需點擊一下按鈕,即可轉錄長篇的麥克風或音訊輸入!此示範使用"
|
102 |
f"檢查點 [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) 和 🤗 Transformers 來轉錄任意長度的音訊檔案。"
|
@@ -108,7 +108,7 @@ file_transcribe = gr.Interface(
|
|
108 |
fn=transcribe,
|
109 |
inputs=gr.Audio(sources="upload", type="filepath", label="音訊檔案"),
|
110 |
outputs="text",
|
111 |
-
title="
|
112 |
description=(
|
113 |
"只需點擊一下按鈕,即可轉錄長篇的麥克風或音訊輸入!此示範使用"
|
114 |
f"檢查點 [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) 和 🤗 Transformers 來轉錄任意長度的音訊檔案。"
|
@@ -120,7 +120,7 @@ yt_transcribe_interface = gr.Interface(
|
|
120 |
fn=yt_transcribe,
|
121 |
inputs=gr.Textbox(lines=1, placeholder="在此貼上YouTube影片的URL", label="YouTube URL"),
|
122 |
outputs=["html", "text"],
|
123 |
-
title="
|
124 |
description=(
|
125 |
"只需點擊一下按鈕,即可轉錄長篇的YouTube影片!此示範使用"
|
126 |
f"檢查點 [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) 和 🤗 Transformers 來轉錄任意長度的影片檔案。"
|
|
|
96 |
fn=transcribe,
|
97 |
inputs=gr.Audio(sources="microphone", type="filepath"),
|
98 |
outputs="text",
|
99 |
+
title="清華大學多模態課程/廖老師嫡傳弟子-第二組 「語音轉文字」模型",
|
100 |
description=(
|
101 |
"只需點擊一下按鈕,即可轉錄長篇的麥克風或音訊輸入!此示範使用"
|
102 |
f"檢查點 [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) 和 🤗 Transformers 來轉錄任意長度的音訊檔案。"
|
|
|
108 |
fn=transcribe,
|
109 |
inputs=gr.Audio(sources="upload", type="filepath", label="音訊檔案"),
|
110 |
outputs="text",
|
111 |
+
title="清華大學多模態課程/廖老師嫡傳弟子-第二組 「語音轉文字」模型: 音訊檔案上傳轉錄",
|
112 |
description=(
|
113 |
"只需點擊一下按鈕,即可轉錄長篇的麥克風或音訊輸入!此示範使用"
|
114 |
f"檢查點 [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) 和 🤗 Transformers 來轉錄任意長度的音訊檔案。"
|
|
|
120 |
fn=yt_transcribe,
|
121 |
inputs=gr.Textbox(lines=1, placeholder="在此貼上YouTube影片的URL", label="YouTube URL"),
|
122 |
outputs=["html", "text"],
|
123 |
+
title="清華大學多模態課程/廖老師嫡傳弟子-第二組 「語音轉文字」模型: YouTube轉錄",
|
124 |
description=(
|
125 |
"只需點擊一下按鈕,即可轉錄長篇的YouTube影片!此示範使用"
|
126 |
f"檢查點 [{MODEL_NAME}](https://huggingface.co/{MODEL_NAME}) 和 🤗 Transformers 來轉錄任意長度的影片檔案。"
|