CMLL commited on
Commit
c1e4174
1 Parent(s): 643c943

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,7 +14,7 @@ def main():
14
  run_command("git clone https://github.com/ggerganov/llama.cpp.git")
15
 
16
  # Change directory to the cloned repository
17
- os.chdir("/content/llama.cpp")
18
 
19
  # Download the file
20
  print("Downloading the GGUF file...")
@@ -37,7 +37,7 @@ Bob: Hello. How may I help you today?
37
 
38
  # Run the llama-cli command
39
  print("Running the llama-cli command...")
40
- run_command("./llama-cli -m /content/ZhongJing1_5-1_8b-q4_0.gguf -n 256 --repeat_penalty 1.0 --color -i -r 'User:' -f prompts/chat-with-bob.txt")
41
 
42
  if __name__ == "__main__":
43
  main()
 
14
  run_command("git clone https://github.com/ggerganov/llama.cpp.git")
15
 
16
  # Change directory to the cloned repository
17
+ os.chdir("llama.cpp")
18
 
19
  # Download the file
20
  print("Downloading the GGUF file...")
 
37
 
38
  # Run the llama-cli command
39
  print("Running the llama-cli command...")
40
+ run_command("./llama-cli -m ZhongJing1_5-1_8b-q4_0.gguf -n 256 --repeat_penalty 1.0 --color -i -r 'User:' -f prompts/chat-with-bob.txt")
41
 
42
  if __name__ == "__main__":
43
  main()