Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,6 @@ llm = Llama.from_pretrained(
|
|
36 |
repo_id="openbmb/MiniCPM-Llama3-V-2_5-gguf",
|
37 |
filename="ggml-model-Q5_K_M.gguf",
|
38 |
# chat_handler=chat_handler,
|
39 |
-
n_ctx=2048, # n_ctx should be increased to accommodate the image embedding
|
40 |
)
|
41 |
|
42 |
def image_to_base64_data_uri(file_path):
|
|
|
36 |
repo_id="openbmb/MiniCPM-Llama3-V-2_5-gguf",
|
37 |
filename="ggml-model-Q5_K_M.gguf",
|
38 |
# chat_handler=chat_handler,
|
|
|
39 |
)
|
40 |
|
41 |
def image_to_base64_data_uri(file_path):
|