Commit 4887f023 authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Removing unecessary function

parent 5a78b607
Pipeline #51376 failed with stage
in 134 minutes and 40 seconds
import os
def download_model(model_path, urls, zip_file="model.tar.gz"):
Download and unzip a model from some URL.
model_path: str
Path where the model is supposed to be stored
urls: list
List of paths where the model is stored
zip_file: str
File name after the download
if not os.path.exists(model_path):
os.makedirs(model_path, exist_ok=True)
zip_file = os.path.join(model_path, zip_file), zip_file)
# gets sphinx autodoc done right - don't remove it
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment