Kal1510 commited on
Commit
4882e63
·
verified ·
1 Parent(s): 424ae41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -20,7 +20,11 @@ try:
20
  print("llama_cpp already installed.")
21
  except ImportError:
22
  print("Installing llama_cpp from wheel...")
23
- subprocess.check_call([sys.executable, "-m", "pip", "install", wheel_file])
 
 
 
 
24
 
25
  from llama_cpp import Llama
26
  print("start3")
 
20
  print("llama_cpp already installed.")
21
  except ImportError:
22
  print("Installing llama_cpp from wheel...")
23
+ subprocess.check_call([
24
+ sys.executable, "-m", "pip", "install",
25
+ "llama-cpp-python", "--no-binary", ":all:", "--force-reinstall"
26
+ ])
27
+
28
 
29
  from llama_cpp import Llama
30
  print("start3")