Spaces:
Runtime error
Runtime error
update download path
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ from langchain.llms import GPT4All
|
|
| 12 |
|
| 13 |
modelPath = "/home/phisinger/Programmieren/wahlprogramm_analyse/models/mistral-7b-openorca.Q4_0.gguf"
|
| 14 |
if (os.path.exists(modelPath) == False):
|
| 15 |
-
url = "https://huggingface.co/TheBloke/Mistral-7B-OpenOrca-GGUF/
|
| 16 |
response = requests.get(url)
|
| 17 |
with open("./model.gguf", mode="wb") as file:
|
| 18 |
file.write(response.content)
|
|
|
|
| 12 |
|
| 13 |
modelPath = "/home/phisinger/Programmieren/wahlprogramm_analyse/models/mistral-7b-openorca.Q4_0.gguf"
|
| 14 |
if (os.path.exists(modelPath) == False):
|
| 15 |
+
url = "https://huggingface.co/TheBloke/Mistral-7B-OpenOrca-GGUF/resolve/main/mistral-7b-openorca.Q4_K_M.gguf"
|
| 16 |
response = requests.get(url)
|
| 17 |
with open("./model.gguf", mode="wb") as file:
|
| 18 |
file.write(response.content)
|