Christoph Holthaus commited on
Commit
e80da7c
1 Parent(s): 576474f
Files changed (2) hide show
  1. .gitignore +4 -0
  2. app.py +6 -2
.gitignore CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  # BASIC PYTHON .GITIGNORE + some for testing
2
 
3
  # Byte-compiled / optimized / DLL files
 
1
+ #
2
+ /model.bin
3
+
4
+
5
  # BASIC PYTHON .GITIGNORE + some for testing
6
 
7
  # Byte-compiled / optimized / DLL files
app.py CHANGED
@@ -15,12 +15,16 @@ from llama_cpp import Llama
15
 
16
  # load like this - use tne variable everywhere
17
  model_uri_hf=os.getenv("MODEL_URI_HF")
18
- # DEBUG!
19
- model_uri_hf="https://huggingface.co/TheBloke/neural-chat-7B-v3-2-GGUF/blob/main/neural-chat-7b-v3-2.Q2_K.gguf"
20
  # show warning, when empty and briefs description of how to set it
21
  # also add link to "how to search" with link to bloke by default + example search link + example full value (mistral base?)
22
  # info about ram requirements
23
 
 
 
 
 
 
 
24
  # Initing things
25
  print(f"debug: init model: {model_uri_hf}")
26
 
 
15
 
16
  # load like this - use tne variable everywhere
17
  model_uri_hf=os.getenv("MODEL_URI_HF")
 
 
18
  # show warning, when empty and briefs description of how to set it
19
  # also add link to "how to search" with link to bloke by default + example search link + example full value (mistral base?)
20
  # info about ram requirements
21
 
22
+ # DEBUG!
23
+ model_uri_hf="https://huggingface.co/TheBloke/neural-chat-7B-v3-2-GGUF/blob/main/neural-chat-7b-v3-2.Q2_K.gguf"
24
+ model_uri_hf="https://huggingface.co/TheBloke/neural-chat-7B-v3-2-GGUF/resolve/main/neural-chat-7b-v3-2.Q2_K.gguf"
25
+ # maybe use git lfs to dl instead?
26
+
27
+
28
  # Initing things
29
  print(f"debug: init model: {model_uri_hf}")
30