sflindrs commited on
Commit
dfe990d
Β·
verified Β·
1 Parent(s): c724d19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ snapshot_download(repo_id="nintwentydo/Razorback-12B-v0.2",
20
  allow_patterns=["params.json", "consolidated.safetensors", "tekken.json"],
21
  local_dir=models_path)
22
 
23
- tokenizer = MistralTokenizer.from_file(f"{models_path}/tekken.json")
24
- model = Transformer.from_folder(models_path)
25
 
26
  def image_to_base64(image_path):
27
  with open(image_path, 'rb') as img:
 
20
  allow_patterns=["params.json", "consolidated.safetensors", "tekken.json"],
21
  local_dir=models_path)
22
 
23
+ tokenizer = MistralTokenizer.from_file(f"tekken.json")
24
+ model = Transformer.from_folder(".")
25
 
26
  def image_to_base64(image_path):
27
  with open(image_path, 'rb') as img: