Spaces:
Sleeping
Sleeping
Update bt_generator.py
Browse files- bt_generator.py +2 -2
bt_generator.py
CHANGED
|
@@ -3,7 +3,7 @@ from huggingface_hub import hf_hub_download
|
|
| 3 |
from llama_cpp import Llama
|
| 4 |
import textwrap
|
| 5 |
import re
|
| 6 |
-
import spaces
|
| 7 |
import functools
|
| 8 |
|
| 9 |
# Download only the behavior-tree model shard
|
|
@@ -19,8 +19,8 @@ import functools
|
|
| 19 |
# use_mlock=False,
|
| 20 |
# )
|
| 21 |
|
|
|
|
| 22 |
@functools.lru_cache(maxsize=1)
|
| 23 |
-
@spaces.CPU
|
| 24 |
def gpu_llm():
|
| 25 |
model_path = hf_hub_download(
|
| 26 |
repo_id="Inventors-Hub/SwarmChat-models",
|
|
|
|
| 3 |
from llama_cpp import Llama
|
| 4 |
import textwrap
|
| 5 |
import re
|
| 6 |
+
# import spaces
|
| 7 |
import functools
|
| 8 |
|
| 9 |
# Download only the behavior-tree model shard
|
|
|
|
| 19 |
# use_mlock=False,
|
| 20 |
# )
|
| 21 |
|
| 22 |
+
# @spaces.CPU
|
| 23 |
@functools.lru_cache(maxsize=1)
|
|
|
|
| 24 |
def gpu_llm():
|
| 25 |
model_path = hf_hub_download(
|
| 26 |
repo_id="Inventors-Hub/SwarmChat-models",
|