Update multit2i.py
Browse files- multit2i.py +1 -4
multit2i.py
CHANGED
@@ -7,10 +7,7 @@ from huggingface_hub import InferenceClient
|
|
7 |
import os
|
8 |
|
9 |
|
10 |
-
|
11 |
-
provider="hf-inference",
|
12 |
-
api_key="hf_xxxxxxxxxxxxxxxxxxxxxxxx"
|
13 |
-
)
|
14 |
|
15 |
|
16 |
HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None # If private or gated models aren't used, ENV setting is unnecessary.
|
|
|
7 |
import os
|
8 |
|
9 |
|
10 |
+
|
|
|
|
|
|
|
11 |
|
12 |
|
13 |
HF_TOKEN = os.environ.get("HF_TOKEN") if os.environ.get("HF_TOKEN") else None # If private or gated models aren't used, ENV setting is unnecessary.
|