Spaces:
Sleeping
Sleeping
added cache
Browse files
app.py
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
from llama_cpp import Llama
|
|
|
3 |
|
4 |
llm = Llama.from_pretrained(
|
5 |
repo_id="amir22010/fine_tuned_product_marketing_email_gemma_2_9b_q4_k_m",
|
6 |
filename="unsloth.Q4_K_M.gguf",
|
|
|
7 |
verbose=False
|
8 |
)
|
9 |
|
|
|
1 |
import gradio as gr
|
2 |
from llama_cpp import Llama
|
3 |
+
import os
|
4 |
|
5 |
llm = Llama.from_pretrained(
|
6 |
repo_id="amir22010/fine_tuned_product_marketing_email_gemma_2_9b_q4_k_m",
|
7 |
filename="unsloth.Q4_K_M.gguf",
|
8 |
+
cache_dir=os.path.abspath(os.getcwd()),
|
9 |
verbose=False
|
10 |
)
|
11 |
|