Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import numpy as np
|
|
4 |
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub
|
5 |
from fairseq.models.speech_to_speech.hub_interface import S2SHubInterface
|
6 |
from fairseq.models.speech_to_text.hub_interface import S2THubInterface
|
7 |
-
from docker_images.fairseq.app.pipelines.audio_to_audio import SpeechToSpeechPipeline
|
8 |
|
9 |
io1 = gr.Interface.load("huggingface/facebook/xm_transformer_s2ut_en-hk", api_key=os.environ['api_key'])
|
10 |
io2 = gr.Interface.load("huggingface/facebook/xm_transformer_s2ut_hk-en", api_key=os.environ['api_key'])
|
|
|
4 |
from fairseq.checkpoint_utils import load_model_ensemble_and_task_from_hf_hub
|
5 |
from fairseq.models.speech_to_speech.hub_interface import S2SHubInterface
|
6 |
from fairseq.models.speech_to_text.hub_interface import S2THubInterface
|
7 |
+
from api-inference-community.docker_images.fairseq.app.pipelines.audio_to_audio import SpeechToSpeechPipeline
|
8 |
|
9 |
io1 = gr.Interface.load("huggingface/facebook/xm_transformer_s2ut_en-hk", api_key=os.environ['api_key'])
|
10 |
io2 = gr.Interface.load("huggingface/facebook/xm_transformer_s2ut_hk-en", api_key=os.environ['api_key'])
|