Spaces:
Runtime error
Runtime error
Update app.py
Browse files1234 unmodified lines89101112131415import gradio as grimport copyimport time4 unmodified linesllm = Llama(model_path=hf_hub_download(repo_id="TheBloke/Llama-2-7B-Chat-GGML",filename="llama-2-7b-chat.ggmlv3.q5_0.bin",),n_ctx=2048,n_gpu_layers=50, # change n_gpu_layers if you have more or less VRAM12344 unmodified lines910111213141516import osimport gradio as grimport copyimport time4 unmodified linesllm = Llama(model_path=hf_hub_download(repo_id=os.environ.get("REPO_ID", "TheBloke/Llama-2-7B-Chat-GGML"),filename=os.environ.get("MODEL_FILE", "llama-2-7b-chat.ggmlv3.q5_0.bin"),),n_ctx=2048,n_gpu_layers=50, # change n_gpu_layers if you have more or less VRAM
app.py+3-2