Spaces:
Running
Running
Update
Browse files
models.py
CHANGED
|
@@ -79,6 +79,8 @@ def generate(
|
|
| 79 |
# tokens = model.predict(params, batch, sampler=sampler)
|
| 80 |
|
| 81 |
model_path = gradio_helpers.get_paths()[model_name]
|
|
|
|
|
|
|
| 82 |
model = llama_cpp.Llama(
|
| 83 |
model_path,
|
| 84 |
)
|
|
|
|
| 79 |
# tokens = model.predict(params, batch, sampler=sampler)
|
| 80 |
|
| 81 |
model_path = gradio_helpers.get_paths()[model_name]
|
| 82 |
+
print(model_path)
|
| 83 |
+
print(gradio_helpers.get_paths())
|
| 84 |
model = llama_cpp.Llama(
|
| 85 |
model_path,
|
| 86 |
)
|