Spaces:
Sleeping
Sleeping
Update app.py (#8)
Browse files- Update app.py (88472fe65772b6d9d2e9729c40e52c79d83a578d)
app.py
CHANGED
@@ -4,6 +4,7 @@ import requests
|
|
4 |
import json
|
5 |
import shutil
|
6 |
from huggingface_hub import HfApi, create_repo
|
|
|
7 |
|
8 |
def download_file(digest, image):
|
9 |
url = f"https://registry.ollama.ai/v2/library/{image}/blobs/{digest}"
|
|
|
4 |
import json
|
5 |
import shutil
|
6 |
from huggingface_hub import HfApi, create_repo
|
7 |
+
from typing import Union
|
8 |
|
9 |
def download_file(digest, image):
|
10 |
url = f"https://registry.ollama.ai/v2/library/{image}/blobs/{digest}"
|