MCPcopy Create free account
hub / github.com/modelscope/FunASR / read

Method read

funasr/models/campplus/utils.py:406–415  ·  view source on GitHub ↗

Read. Args: url: TODO.

(self, url)

Source from the content-addressed store, hash-verified

404 """HTTP and HTTPS storage."""
405
406 def read(self, url):
407 # TODO @wenmeng.zwm add progress bar if file is too large
408 """Read.
409
410 Args:
411 url: TODO.
412 """
413 r = requests.get(url)
414 r.raise_for_status()
415 return r.content
416
417 def read_text(self, url):
418 """Read text.

Callers 1

as_local_pathMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected