Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,14 +1,9 @@
|
|
| 1 |
import os
|
| 2 |
-
|
| 3 |
-
# ---- Make musl visible to the dynamic loader (must run BEFORE importing llama_cpp) ----
|
| 4 |
-
os.environ["LD_LIBRARY_PATH"] = (
|
| 5 |
-
os.environ.get("LD_LIBRARY_PATH", "") + ":/usr/lib/x86_64-linux-musl:/lib/x86_64-linux-musl"
|
| 6 |
-
)
|
| 7 |
-
|
| 8 |
import gradio as gr
|
| 9 |
from huggingface_hub import hf_hub_download
|
| 10 |
from llama_cpp import Llama
|
| 11 |
|
|
|
|
| 12 |
# --- Model location ---
|
| 13 |
REPO_ID = os.getenv("GGUF_REPO_ID", "gladestudio/gladecore")
|
| 14 |
FILENAME = os.getenv("GGUF_FILENAME", "emotion-run2-best.gguf")
|
|
|
|
| 1 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
from huggingface_hub import hf_hub_download
|
| 4 |
from llama_cpp import Llama
|
| 5 |
|
| 6 |
+
|
| 7 |
# --- Model location ---
|
| 8 |
REPO_ID = os.getenv("GGUF_REPO_ID", "gladestudio/gladecore")
|
| 9 |
FILENAME = os.getenv("GGUF_FILENAME", "emotion-run2-best.gguf")
|