Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,19 +4,6 @@ import gradio as gr
|
|
4 |
import yt_dlp as youtube_dl
|
5 |
from transformers import pipeline
|
6 |
from transformers.pipelines.audio_utils import ffmpeg_read
|
7 |
-
from fairseq2.assets import InProcAssetMetadataProvider, asset_store
|
8 |
-
from huggingface_hub import snapshot_download
|
9 |
-
from seamless_communication.inference import Translator
|
10 |
-
|
11 |
-
from lang_list import (
|
12 |
-
ASR_TARGET_LANGUAGE_NAMES,
|
13 |
-
LANGUAGE_NAME_TO_CODE,
|
14 |
-
S2ST_TARGET_LANGUAGE_NAMES,
|
15 |
-
S2TT_TARGET_LANGUAGE_NAMES,
|
16 |
-
T2ST_TARGET_LANGUAGE_NAMES,
|
17 |
-
T2TT_TARGET_LANGUAGE_NAMES,
|
18 |
-
TEXT_SOURCE_LANGUAGE_NAMES,
|
19 |
-
)
|
20 |
|
21 |
import tempfile
|
22 |
import os
|
|
|
4 |
import yt_dlp as youtube_dl
|
5 |
from transformers import pipeline
|
6 |
from transformers.pipelines.audio_utils import ffmpeg_read
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
|
8 |
import tempfile
|
9 |
import os
|