ntaexams commited on
Commit
a825785
·
verified ·
1 Parent(s): 1099846

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -6,9 +6,9 @@ import gradio as gr
6
  # 🔹 Get Hugging Face Token from environment variable
7
  HF_TOKEN = os.getenv("HF_TOKEN")
8
 
9
- # 🔹 Correct Model URL
10
- MODEL_URL = "https://huggingface.co/TheBloke/Mistral-7B-GGUF/resolve/main/mistral-7b.Q4_K.gguf"
11
- MODEL_PATH = "./models/mistral-7b.Q4_K.gguf"
12
 
13
  # 🔹 Ensure the models directory exists
14
  os.makedirs("./models", exist_ok=True)
 
6
  # 🔹 Get Hugging Face Token from environment variable
7
  HF_TOKEN = os.getenv("HF_TOKEN")
8
 
9
+ # 🔹 Correct Model URL & Filename
10
+ MODEL_URL = "https://huggingface.co/TheBloke/Mistral-7B-GGUF/resolve/main/mistral-7b-instruct-v0.1.Q4_K_M.gguf"
11
+ MODEL_PATH = "./models/mistral-7b-instruct-v0.1.Q4_K_M.gguf"
12
 
13
  # 🔹 Ensure the models directory exists
14
  os.makedirs("./models", exist_ok=True)