suriya7 commited on
Commit
71f502b
1 Parent(s): cc123a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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="google/gemma-1.1-7b-it",
18
- tokenizer_name="google/gemma-1.1-7b-it",
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,