Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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"
|
24 |
-
model = Transformer.from_folder(
|
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:
|