Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
import os
|
3 |
from pathlib import Path
|
4 |
|
5 |
-
os.
|
6 |
os.system('CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python[server]')
|
7 |
|
8 |
import argparse
|
|
|
2 |
import os
|
3 |
from pathlib import Path
|
4 |
|
5 |
+
os.environ["CMAKE_ARGS"] = "-DLLAMA_CUBLAS=on"
|
6 |
os.system('CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python[server]')
|
7 |
|
8 |
import argparse
|