Spaces:
Sleeping
Sleeping
| from huggingface_hub import HfApi | |
| api = HfApi() | |
| repo_id = "Omamaa12/iris-models" | |
| files = [ | |
| "models/gan_model.pth", | |
| "models/dnet_pad_model.pth", | |
| "models/best_mobile_biometric_model.pth", | |
| "models/resnet50_imagenet.h5", | |
| "models/iris_gallery_fixed.pkl" | |
| ] | |
| for f in files: | |
| print("Uploading:", f) | |
| api.upload_file( | |
| path_or_fileobj=f, | |
| path_in_repo=f.split("/")[-1], | |
| repo_id=repo_id, | |
| repo_type="model" | |
| ) | |
| print("✅ Upload complete!") |