Spaces:
Sleeping
Sleeping
fx
Browse files
app.py
CHANGED
|
@@ -23,8 +23,7 @@ half = lo+ve
|
|
| 23 |
HF_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN", half)
|
| 24 |
client = InferenceClient(
|
| 25 |
model="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 26 |
-
token=HF_TOKEN
|
| 27 |
-
provider="hf-inference"
|
| 28 |
)
|
| 29 |
|
| 30 |
class HuggingFaceInferenceClientRunnable(Runnable):
|
|
|
|
| 23 |
HF_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN", half)
|
| 24 |
client = InferenceClient(
|
| 25 |
model="mistralai/Mixtral-8x7B-Instruct-v0.1",
|
| 26 |
+
token=HF_TOKEN
|
|
|
|
| 27 |
)
|
| 28 |
|
| 29 |
class HuggingFaceInferenceClientRunnable(Runnable):
|