From 2c4ae541e050daf35968c73ce113131ff0a0a251 Mon Sep 17 00:00:00 2001
From: 彭震东 <zhendong.peng@qq.com>
Date: 星期二, 28 五月 2024 17:11:38 +0800
Subject: [PATCH] fix bug (#1764)

---
 funasr/auto/auto_model.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/auto/auto_model.py b/funasr/auto/auto_model.py
index 97eb325..23d25c9 100644
--- a/funasr/auto/auto_model.py
+++ b/funasr/auto/auto_model.py
@@ -42,7 +42,7 @@
     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(

--
Gitblit v1.9.1