developer3000 commited on
Commit
8851723
·
1 Parent(s): 300cc8d

Add application file

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,7 +1,9 @@
1
  from huggingface_hub import hf_hub_download
2
  from llama_cpp import Llama
3
  import gradio as gr
 
4
 
 
5
  model_name = "aaditya/OpenBioLLM-Llama3-8B-GGUF"
6
  model_file = "openbiollm-llama3-8b.Q5_K_M.gguf"
7
 
 
1
  from huggingface_hub import hf_hub_download
2
  from llama_cpp import Llama
3
  import gradio as gr
4
+ import os
5
 
6
+ os.makedirs(/content, exist_ok=True) # Создание директории для сохранения модели
7
  model_name = "aaditya/OpenBioLLM-Llama3-8B-GGUF"
8
  model_file = "openbiollm-llama3-8b.Q5_K_M.gguf"
9