Spaces:
Sleeping
Sleeping
from huggingface_hub import from_pretrained_keras | |
from pathlib import Path | |
import os | |
# Build paths inside the project like this: BASE_DIR / 'subdir'. | |
PARENT_DIR = Path(__file__).resolve().parent | |
CACHE_DIR = os.path.join(PARENT_DIR, ".cache") | |
MODEL = from_pretrained_keras("jsolow/grubguesser", cache_dir=CACHE_DIR) | |