Skip to content

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

fix bug (#1764)

彭震东2c4ae541e050
diff --git a/funasr/auto/auto_model.py b/funasr/auto/auto_model.py
index 97eb325da..23d25c9be 100644
--- a/funasr/auto/auto_model.py
+++ b/funasr/auto/auto_model.py
@@ -42,7 +42,7 @@ def prepare_data_iterator(data_in, input_len=None, data_type=None, key=None):
filelist = [".scp", ".txt", ".json", ".jsonl", ".text"]
chars = string.ascii_letters + string.digits
- if isinstance(data_in, str) and data_in.startswith("http"): # url
+ if isinstance(data_in, str) and data_in.startswith("http://"): # url
data_in = download_from_url(data_in)
if isinstance(data_in, str) and os.path.exists(