Spaces:
Runtime error
Runtime error
Upload app.py
Browse files2 unmodified lines34567891011121314152 unmodified linesimport osfrom mods.btn_reset import restart_spaceif not os.path.exists('models/causallm_14b.IQ3_XS.gguf'):from huggingface_hub import snapshot_downloados.mkdir("models")os.mkdir("cache")snapshot_download(repo_id='Limour/CausalLM-14B-GGUF', local_dir=r'models',allow_patterns='causallm_14b.IQ3_XS.gguf')snapshot_download(repo_id='Limour/llama-python-streamingllm-cache', repo_type='dataset', local_dir=r'cache')try:# 启动另一个程序,并通过管道捕获其输出2 unmodified lines345678910111213141516172 unmodified linesimport osfrom mods.btn_reset import restart_spaceif not os.path.exists('models/causallm_14b.Q4_0.gguf'):from huggingface_hub import snapshot_downloados.mkdir("models")os.mkdir("cache")snapshot_download(repo_id='TheBloke/CausalLM-14B-GGUF', local_dir=r'models',allow_patterns='causallm_14b.Q4_0.gguf')snapshot_download(repo_id='Limour/llama-python-streamingllm-cache',repo_type='dataset', local_dir=r'cache',allow_patterns='temp')try:# 启动另一个程序,并通过管道捕获其输出
app.py+6-4