reach-vb HF staff commited on
Commit
66a6283
·
verified ·
1 Parent(s): 548b0cf

Update app.py (#8)

Browse files

- Update app.py (88472fe65772b6d9d2e9729c40e52c79d83a578d)

Files changed (1) hide show
  1. app.py +1 -0
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}"