Spaces:
Sleeping
Sleeping
JCai
commited on
Commit
·
3ee559d
1
Parent(s):
6cadba0
update api token
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ HF_ACCESS = os.getenv("HF_ACCESS")
|
|
15 |
|
16 |
# Inference client setup
|
17 |
client = InferenceClient(model="mistralai/Mistral-Small-Instruct-2409",
|
18 |
-
|
19 |
)
|
20 |
pipe = pipeline("text-generation", "microsoft/Phi-3-mini-4k-instruct", torch_dtype=torch.bfloat16, device_map="auto")
|
21 |
|
|
|
15 |
|
16 |
# Inference client setup
|
17 |
client = InferenceClient(model="mistralai/Mistral-Small-Instruct-2409",
|
18 |
+
token=HF_ACCESS
|
19 |
)
|
20 |
pipe = pipeline("text-generation", "microsoft/Phi-3-mini-4k-instruct", torch_dtype=torch.bfloat16, device_map="auto")
|
21 |
|