TensorLM-webui-for-HF / hf_launch.py
ehristoforu's picture
Update hf_launch.py
ea5f41e verified
raw
history blame contribute delete
233 Bytes
import subprocess
import os
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="ehristoforu/LLMs", filename="llama-2-7b-chat.ggmlv3.q2_K.bin", local_dir="models")
subprocess.run(["python", "webui.py"], check=True)