Spaces:
Sleeping
Sleeping
| from huggingface_hub import HfApi | |
| api = HfApi() | |
| repo_id = "ktoan911/Fake_Crypto_Claim_Detector" | |
| api.upload_file( | |
| path_or_fileobj="requirements.txt", | |
| path_in_repo="requirements.txt", | |
| repo_id=repo_id, | |
| repo_type="space", | |
| ) | |
| print("Uploaded requirements.txt") | |
| api.upload_file( | |
| path_or_fileobj="src/database/opensearch.py", | |
| path_in_repo="src/database/opensearch.py", | |
| repo_id=repo_id, | |
| repo_type="space", | |
| ) | |
| print("Uploaded src/database/opensearch.py") | |
| print("Fast upload completed.") | |