mirror of
https://github.com/modelscope/modelscope.git
synced 2026-09-01 19:49:03 +02:00
use tqdm auto (#982)
Co-authored-by: Yingda Chen <yingda.chen@alibaba-inc.com>
This commit is contained in:
@@ -834,7 +834,7 @@ class HubApi:
|
||||
Fetch the meta-data files from the url, e.g. csv/jsonl files.
|
||||
"""
|
||||
import hashlib
|
||||
from tqdm import tqdm
|
||||
from tqdm.auto import tqdm
|
||||
import pandas as pd
|
||||
|
||||
out_path = os.path.join(out_path, hashlib.md5(url.encode(encoding='UTF-8')).hexdigest())
|
||||
|
||||
@@ -14,7 +14,7 @@ from typing import Dict, Optional, Union
|
||||
|
||||
import requests
|
||||
from requests.adapters import Retry
|
||||
from tqdm import tqdm
|
||||
from tqdm.auto import tqdm
|
||||
|
||||
from modelscope.hub.api import HubApi, ModelScopeConfig
|
||||
from modelscope.hub.constants import (
|
||||
|
||||
Reference in New Issue
Block a user