Kaan commited on
Commit
a958233
·
verified ·
1 Parent(s): 097833a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -16,6 +16,7 @@ async def generate_text():
16
  os.makedirs(model_dir, exist_ok=True)
17
 
18
  hf_hub_download(repo_id="TheBloke/Mistral-7B-v0.1-GGUF", filename="mistral-7b-v0.1.Q4_K_M.gguf", local_dir=model_dir)
 
19
 
20
  # Check if config.json file exists in the model directory
21
  config_file = os.path.join(model_dir, "config.json")
 
16
  os.makedirs(model_dir, exist_ok=True)
17
 
18
  hf_hub_download(repo_id="TheBloke/Mistral-7B-v0.1-GGUF", filename="mistral-7b-v0.1.Q4_K_M.gguf", local_dir=model_dir)
19
+ hf_hub_download(repo_id="TheBloke/Mistral-7B-v0.1-GGUF", filename="config.json", local_dir=model_dir)
20
 
21
  # Check if config.json file exists in the model directory
22
  config_file = os.path.join(model_dir, "config.json")