Fix model_exists

This commit is contained in:
Luke Southam 2022-12-25 06:52:48 +00:00 committed by GitHub
parent 07e194bed2
commit aa51bbd3e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ MODELS = {
}
def model_exists(model):
return os.path.exists(model)
return os.path.exists(MODELS_DIR + "/" + model)
def download_model(model):
if model_exists(model):