Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import os
|
|
8 |
HF_API_KEY = os.getenv("HF_API_KEY")
|
9 |
|
10 |
# Hugging Face API Key (Replace with your actual key)
|
11 |
-
client = InferenceClient(model="mistralai/Mistral-7B-
|
12 |
|
13 |
def classify_task(user_input):
|
14 |
"""Classifies user task using Mistral."""
|
|
|
8 |
HF_API_KEY = os.getenv("HF_API_KEY")
|
9 |
|
10 |
# Hugging Face API Key (Replace with your actual key)
|
11 |
+
client = InferenceClient(model="mistralai/Mistral-7B-v0.1", token=HF_API_KEY)
|
12 |
|
13 |
def classify_task(user_input):
|
14 |
"""Classifies user task using Mistral."""
|