Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,8 @@ import json
|
|
| 7 |
import re
|
| 8 |
import os
|
| 9 |
|
|
|
|
|
|
|
| 10 |
@st.cache_resource
|
| 11 |
def get_inference_client():
|
| 12 |
return InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
|
|
|
| 7 |
import re
|
| 8 |
import os
|
| 9 |
|
| 10 |
+
hf_token = os.getenv("HF_TOKEN")
|
| 11 |
+
|
| 12 |
@st.cache_resource
|
| 13 |
def get_inference_client():
|
| 14 |
return InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|