Spaces:
Paused
Paused
Update olapp.py
Browse files
olapp.py
CHANGED
@@ -2,11 +2,11 @@ from http.server import HTTPServer, BaseHTTPRequestHandler
|
|
2 |
from urllib.parse import urlparse
|
3 |
import os
|
4 |
import json
|
5 |
-
from huggingface_hub.file_download import http_get
|
6 |
from llama_cpp import Llama
|
7 |
|
8 |
|
9 |
-
directory = "
|
10 |
model_url = "https://huggingface.co/IlyaGusev/saiga_mistral_7b_gguf/resolve/main/model-q8_0.gguf"
|
11 |
model_name = "model-q8_0.gguf"
|
12 |
final_model_path = os.path.join(directory, model_name)
|
|
|
2 |
from urllib.parse import urlparse
|
3 |
import os
|
4 |
import json
|
5 |
+
#from huggingface_hub.file_download import http_get
|
6 |
from llama_cpp import Llama
|
7 |
|
8 |
|
9 |
+
directory = "/home/oluser/"
|
10 |
model_url = "https://huggingface.co/IlyaGusev/saiga_mistral_7b_gguf/resolve/main/model-q8_0.gguf"
|
11 |
model_name = "model-q8_0.gguf"
|
12 |
final_model_path = os.path.join(directory, model_name)
|