Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ class BasicAgent:
|
|
25 |
api_token = os.getenv("HF_TOKEN")
|
26 |
|
27 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "hf_abcdefghijklmnopqrstuvwxyz"
|
28 |
-
login('
|
29 |
|
30 |
self.model = InferenceClient("mistralai/Mistral-7B-Instruct-v0.1")
|
31 |
self.tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1") # Initialize tokenizer
|
|
|
25 |
api_token = os.getenv("HF_TOKEN")
|
26 |
|
27 |
os.environ["HUGGINGFACEHUB_API_TOKEN"] = "hf_abcdefghijklmnopqrstuvwxyz"
|
28 |
+
login('HF_TOKEN')
|
29 |
|
30 |
self.model = InferenceClient("mistralai/Mistral-7B-Instruct-v0.1")
|
31 |
self.tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.1") # Initialize tokenizer
|