Update modules/pmbl.py
Browse files- modules/pmbl.py +0 -7
modules/pmbl.py
CHANGED
@@ -1,13 +1,6 @@
|
|
1 |
import sqlite3
|
2 |
from datetime import datetime
|
3 |
from concurrent.futures import ThreadPoolExecutor
|
4 |
-
import huggingface_hub
|
5 |
-
|
6 |
-
# Install llama-cpp-python with CUDA support
|
7 |
-
huggingface_hub.install("llama-cpp-python", cuda=True)
|
8 |
-
|
9 |
-
# Now you can import and use llama_cpp
|
10 |
-
from llama_cpp import Llama
|
11 |
|
12 |
class PMBL:
|
13 |
def __init__(self, model_path):
|
|
|
1 |
import sqlite3
|
2 |
from datetime import datetime
|
3 |
from concurrent.futures import ThreadPoolExecutor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
class PMBL:
|
6 |
def __init__(self, model_path):
|