CoolFace
Apppublic

HiberNET/drug-interaction-checker

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
hf_deploy.py16 linesDownload Raw Back to root
1from huggingface_hub import HfApi2import os3 4print("Starting upload to Hugging Face...")5api = HfApi()6 7try:8    api.upload_folder(9        folder_path=os.path.dirname(os.path.abspath(__file__)),10        repo_id="HiberNET/drug-interaction-checker",11        repo_type="space"12    )13    print("\nSUCCESS! All files uploaded securely to the space.")14except Exception as e:15    print(f"\nERROR: {e}")16