AlexWortega commited on
Commit
fd9ff29
1 Parent(s): 94d051b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -23,11 +23,12 @@ def get_system_tokens(model):
23
  def load_model(
24
  directory: str = ".",
25
  model_name: str = "vikhr-7b-instruct_0.2.Q4_K_S.gguf",
26
- model_url: str = "https://huggingface.co/pirbis/Vikhr-7B-instruct_0.2-GGUF/blob/main/vikhr-7b-instruct_0.2.Q4_K_S.gguf"
27
  ):
28
  final_model_path = os.path.join(directory, model_name)
29
  #pirbis/Vikhr-7B-instruct_0.2-GGUF
30
  print("Downloading all files...")
 
31
  if not os.path.exists(final_model_path):
32
  with open(final_model_path, "wb") as f:
33
  http_get(model_url, f)
 
23
  def load_model(
24
  directory: str = ".",
25
  model_name: str = "vikhr-7b-instruct_0.2.Q4_K_S.gguf",
26
+ model_url: str = "https://huggingface.co/pirbis/Vikhr-7B-instruct_0.2-GGUF/resolve/main/vikhr-7b-instruct_0.2.Q4_K_S.gguf"
27
  ):
28
  final_model_path = os.path.join(directory, model_name)
29
  #pirbis/Vikhr-7B-instruct_0.2-GGUF
30
  print("Downloading all files...")
31
+ print(final_model_path)
32
  if not os.path.exists(final_model_path):
33
  with open(final_model_path, "wb") as f:
34
  http_get(model_url, f)