Spaces:
Running
Running
Update
Browse files
models.py
CHANGED
|
@@ -83,7 +83,7 @@ def generate(
|
|
| 83 |
print(gradio_helpers.get_paths())
|
| 84 |
model = llama_cpp.Llama(
|
| 85 |
model_path,
|
| 86 |
-
chat_handler=llama_cpp.llama_chat_format.
|
| 87 |
clip_path
|
| 88 |
),
|
| 89 |
n_ctx=1024,
|
|
|
|
| 83 |
print(gradio_helpers.get_paths())
|
| 84 |
model = llama_cpp.Llama(
|
| 85 |
model_path,
|
| 86 |
+
chat_handler=llama_cpp.llama_chat_format.PaliGemmaChatHandler(
|
| 87 |
clip_path
|
| 88 |
),
|
| 89 |
n_ctx=1024,
|