Spaces:
Runtime error
Runtime error
Update app.py
Browse files12344 unmodified lines9101111121213141516import osimport gradio as grimport copyimport time4 unmodified lines
llm = Llama( model_path=hf_hub_download( repo_id="TheBloke/Llama-2-7B-Chat-GGML", filename="llama-2-7b-chat.ggmlv3.q5_0.bin", 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