Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ with gr.Blocks() as setting:
|
|
113 |
from huggingface_hub import snapshot_download
|
114 |
os.mkdir("downloads")
|
115 |
os.mkdir("cache")
|
116 |
-
tmp = snapshot_download(repo_id='TheBloke/CausalLM-7B-GGUF',
|
117 |
print('snapshot_download', tmp)
|
118 |
|
119 |
# ========== 加载模型 ==========
|
|
|
113 |
from huggingface_hub import snapshot_download
|
114 |
os.mkdir("downloads")
|
115 |
os.mkdir("cache")
|
116 |
+
tmp = snapshot_download(repo_id='TheBloke/CausalLM-7B-GGUF', allow_patterns='causallm_7b.Q5_K_M.gguf')
|
117 |
print('snapshot_download', tmp)
|
118 |
|
119 |
# ========== 加载模型 ==========
|