MCPcopy
hub / github.com/open-compass/VLMEvalKit / DownloadProgressBar

Class DownloadProgressBar

vlmeval/smp/file.py:205–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 from tqdm import tqdm
204
205 class DownloadProgressBar(tqdm):
206 def update_to(self, b=1, bsize=1, tsize=None):
207 if tsize is not None:
208 self.total = tsize
209 self.update(b * bsize - self.n)
210
211 if filename is None:
212 filename = url.split('/')[-1]

Callers 1

download_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected