ky32 commited on
Commit
daf036c
·
verified ·
1 Parent(s): bcd9770

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -9,10 +9,12 @@ from huggingface_hub import hf_hub_download
9
 
10
  app = FastAPI()
11
 
12
- llm = Llama(
13
- model_path=hf_hub_download(
14
  repo_id="TheBloke/Mistral-7B-v0.1-GGUF",
15
- filename="mistral-7b-v0.1.Q4_K_M.gguf"),
 
 
 
16
  n_ctx=2048,
17
  )
18
  print("kaki")
 
9
 
10
  app = FastAPI()
11
 
12
+ model_path = hf_hub_download(
 
13
  repo_id="TheBloke/Mistral-7B-v0.1-GGUF",
14
+ filename="mistral-7b-v0.1.Q4_K_M.gguf")
15
+
16
+ llm = Llama(
17
+ model_path=model_path,
18
  n_ctx=2048,
19
  )
20
  print("kaki")