Spaces:
Build error
Build error
Commit
·
dda779f
1
Parent(s):
ba41ee6
Update run.py
Browse files
run.py
CHANGED
|
@@ -21,7 +21,8 @@ print(dbPath)
|
|
| 21 |
#modelPath="/home/af/gguf/models/SauerkrautLM-7b-HerO-q8_0.gguf"
|
| 22 |
modelPath="/home/af/gguf/models/mixtral-8x7b-instruct-v0.1.Q4_0.gguf"
|
| 23 |
if(os.path.exists(modelPath)==False):
|
| 24 |
-
url="https://huggingface.co/TheBloke/WizardLM-13B-V1.2-GGUF/resolve/main/wizardlm-13b-v1.2.Q4_0.gguf"
|
|
|
|
| 25 |
response = requests.get(url)
|
| 26 |
with open("./model.gguf", mode="wb") as file:
|
| 27 |
file.write(response.content)
|
|
|
|
| 21 |
#modelPath="/home/af/gguf/models/SauerkrautLM-7b-HerO-q8_0.gguf"
|
| 22 |
modelPath="/home/af/gguf/models/mixtral-8x7b-instruct-v0.1.Q4_0.gguf"
|
| 23 |
if(os.path.exists(modelPath)==False):
|
| 24 |
+
#url="https://huggingface.co/TheBloke/WizardLM-13B-V1.2-GGUF/resolve/main/wizardlm-13b-v1.2.Q4_0.gguf"
|
| 25 |
+
url="https://huggingface.co/TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF/resolve/main/mixtral-8x7b-instruct-v0.1.Q4_0.gguf?download=true"
|
| 26 |
response = requests.get(url)
|
| 27 |
with open("./model.gguf", mode="wb") as file:
|
| 28 |
file.write(response.content)
|