Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,12 +10,12 @@ import base64
|
|
10 |
# Load environment variables
|
11 |
load_dotenv()
|
12 |
|
13 |
-
icons = {"assistant": "./assistant.jpeg", "user": "
|
14 |
|
15 |
# Configure the Llama index settings
|
16 |
Settings.llm = HuggingFaceInferenceAPI(
|
17 |
-
model_name="
|
18 |
-
tokenizer_name="
|
19 |
context_window=3000,
|
20 |
token=os.getenv("HF_TOKEN"),
|
21 |
max_new_tokens=512,
|
|
|
10 |
# Load environment variables
|
11 |
load_dotenv()
|
12 |
|
13 |
+
icons = {"assistant": "./assistant.jpeg", "user": "👽"}
|
14 |
|
15 |
# Configure the Llama index settings
|
16 |
Settings.llm = HuggingFaceInferenceAPI(
|
17 |
+
model_name="mistralai/Mistral-7B-Instruct-v0.2",
|
18 |
+
tokenizer_name="mistralai/Mistral-7B-Instruct-v0.2",
|
19 |
context_window=3000,
|
20 |
token=os.getenv("HF_TOKEN"),
|
21 |
max_new_tokens=512,
|