Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ async def generate_text():
|
|
| 18 |
|
| 19 |
#hf_hub_download(repo_id="TheBloke/Mistral-7B-v0.1-GGUF", filename="mistral-7b-v0.1.Q4_K_M.gguf", local_dir=model_dir)
|
| 20 |
#hf_hub_download(repo_id="TheBloke/Mistral-7B-v0.1-GGUF", filename="config.json", local_dir=model_dir)
|
| 21 |
-
snapshot_download(repo_id="TheBloke/Mistral-7B-v0.1-GGUF", local_dir=model_dir)
|
| 22 |
|
| 23 |
# Check if config.json file exists in the model directory
|
| 24 |
config_file = os.path.join(model_dir, "config.json")
|
|
|
|
| 18 |
|
| 19 |
#hf_hub_download(repo_id="TheBloke/Mistral-7B-v0.1-GGUF", filename="mistral-7b-v0.1.Q4_K_M.gguf", local_dir=model_dir)
|
| 20 |
#hf_hub_download(repo_id="TheBloke/Mistral-7B-v0.1-GGUF", filename="config.json", local_dir=model_dir)
|
| 21 |
+
#snapshot_download(repo_id="TheBloke/Mistral-7B-v0.1-GGUF", local_dir=model_dir)
|
| 22 |
|
| 23 |
# Check if config.json file exists in the model directory
|
| 24 |
config_file = os.path.join(model_dir, "config.json")
|