Spaces:
Sleeping
Sleeping
add ssr_mode = False
Browse files
app.py
CHANGED
@@ -8,13 +8,9 @@ import pandas as pd
|
|
8 |
|
9 |
import gradio as gr
|
10 |
import yt_dlp as youtube_dl
|
11 |
-
from transformers import
|
12 |
-
AutoModelForSpeechSeq2Seq,
|
13 |
-
AutoTokenizer,
|
14 |
-
AutoFeatureExtractor,
|
15 |
-
pipeline,
|
16 |
-
)
|
17 |
from transformers.pipelines.audio_utils import ffmpeg_read
|
|
|
18 |
import torch
|
19 |
from datasets import load_dataset, Dataset, DatasetDict
|
20 |
import spaces
|
@@ -225,4 +221,4 @@ with demo:
|
|
225 |
["YouTube", "Microphone", "Audio File"]
|
226 |
)
|
227 |
|
228 |
-
demo.queue().launch()
|
|
|
8 |
|
9 |
import gradio as gr
|
10 |
import yt_dlp as youtube_dl
|
11 |
+
from transformers import pipeline
|
|
|
|
|
|
|
|
|
|
|
12 |
from transformers.pipelines.audio_utils import ffmpeg_read
|
13 |
+
|
14 |
import torch
|
15 |
from datasets import load_dataset, Dataset, DatasetDict
|
16 |
import spaces
|
|
|
221 |
["YouTube", "Microphone", "Audio File"]
|
222 |
)
|
223 |
|
224 |
+
demo.queue().launch(ssr_mode=False)
|