Spaces:
Running
on
Zero
Running
on
Zero
srijaydeshpande
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ import subprocess
|
|
10 |
from huggingface_hub import hf_hub_download
|
11 |
from llama_cpp import Llama
|
12 |
|
13 |
-
|
14 |
-
|
15 |
|
16 |
# subprocess.run('pip install llama-cpp-python==0.2.75 --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu124', shell=True)
|
17 |
# subprocess.run('pip install llama-cpp-agent==0.2.10', shell=True)
|
|
|
10 |
from huggingface_hub import hf_hub_download
|
11 |
from llama_cpp import Llama
|
12 |
|
13 |
+
from huggingface_hub import login
|
14 |
+
login(token = os.getenv('HF_TOKEN'))
|
15 |
|
16 |
# subprocess.run('pip install llama-cpp-python==0.2.75 --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu124', shell=True)
|
17 |
# subprocess.run('pip install llama-cpp-agent==0.2.10', shell=True)
|