Raiff1982 commited on
Commit
49f3735
·
1 Parent(s): 944d465
Files changed (1) hide show
  1. AICoreAGIX_with_TB.py +3 -2
AICoreAGIX_with_TB.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  import base64
2
  import secrets
3
  import aiohttp
@@ -18,8 +21,6 @@ from typing import List, Dict, Any
18
  from cryptography.fernet import Fernet
19
  from datetime import datetime
20
  import pyttsx3
21
- import os # Make sure this is near the top of your file
22
- os.environ["CUDA_VISIBLE_DEVICES"] = "-1" # Prevent TensorFlow from trying to use CUDA
23
  import hashlib
24
 
25
  from self_trust_core import SelfTrustCore
 
1
+ import os
2
+ os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "0"
3
+ os.environ["CUDA_VISIBLE_DEVICES"] = "-1" # Prevent TensorFlow from trying to use CUDAimport os # Make sure this is near the top of your file
4
  import base64
5
  import secrets
6
  import aiohttp
 
21
  from cryptography.fernet import Fernet
22
  from datetime import datetime
23
  import pyttsx3
 
 
24
  import hashlib
25
 
26
  from self_trust_core import SelfTrustCore