Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ COMPANIES = {
|
|
48 |
|
49 |
# Initialize models
|
50 |
print("Initializing models...")
|
51 |
-
api_token = os.getenv(TOKEN)
|
52 |
llm = HuggingFaceEndpoint(
|
53 |
repo_id="mistralai/Mistral-7B-Instruct-v0.2",
|
54 |
huggingfacehub_api_token=api_token,
|
|
|
48 |
|
49 |
# Initialize models
|
50 |
print("Initializing models...")
|
51 |
+
api_token = os.getenv("TOKEN")
|
52 |
llm = HuggingFaceEndpoint(
|
53 |
repo_id="mistralai/Mistral-7B-Instruct-v0.2",
|
54 |
huggingfacehub_api_token=api_token,
|