Spaces:
Sleeping
Sleeping
T145
commited on
Commit
·
1b5a630
1
Parent(s):
4a5e5f8
Model update to V13
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from llama_cpp import Llama
|
|
7 |
|
8 |
API = HfApi()
|
9 |
LLM = Llama.from_pretrained(
|
10 |
-
repo_id="mradermacher/ZEUS-8B-
|
11 |
filename="*Q4_K_M.gguf",
|
12 |
chat_format="chatml",
|
13 |
)
|
@@ -16,7 +16,7 @@ LLM = Llama.from_pretrained(
|
|
16 |
def refresh(how_much=43200): # default to 12 hour
|
17 |
time.sleep(how_much)
|
18 |
try:
|
19 |
-
API.restart_space(repo_id="T145/ZEUS-8B-
|
20 |
except Exception as e:
|
21 |
print(f"Error while rebooting, trying again... {e}")
|
22 |
refresh(600) # 10 minutes if any error happens
|
|
|
7 |
|
8 |
API = HfApi()
|
9 |
LLM = Llama.from_pretrained(
|
10 |
+
repo_id="mradermacher/ZEUS-8B-V13-i1-GGUF",
|
11 |
filename="*Q4_K_M.gguf",
|
12 |
chat_format="chatml",
|
13 |
)
|
|
|
16 |
def refresh(how_much=43200): # default to 12 hour
|
17 |
time.sleep(how_much)
|
18 |
try:
|
19 |
+
API.restart_space(repo_id="T145/ZEUS-8B-CHAT")
|
20 |
except Exception as e:
|
21 |
print(f"Error while rebooting, trying again... {e}")
|
22 |
refresh(600) # 10 minutes if any error happens
|