Skip to content

Commit

Permalink
Add venv to the pypath
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Sep 26, 2024
1 parent 3f31a03 commit bc78ba6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

script_dir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(script_dir)
pv = f"{sys.version_info.major}.{sys.version_info.minor}"
sys.path.append(script_dir + f"/venv/lib/python{pv}/site-packages/")

from r2ai.main import main as r2ai_main # pylint: disable=wrong-import-position
from r2ai.main import register_r2plugin # pylint: disable=wrong-import-position
Expand Down
2 changes: 2 additions & 0 deletions r2ai/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def Markdown(x):
def mainmodels():
return """
Decai:
-m hugging-quants/Llama-3.2-3B-Instruct-Q8_0-GGUF
-m ibm-granite/granite-20b-code-instruct-8k-GGUF
-m QuantFactory/granite-8b-code-instruct-4k-GGUF
-m cognitivecomputations/dolphin-2.9.3-mistral-nemo-12b-gguf
Expand All @@ -54,6 +55,7 @@ def mainmodels():
Uncensored:
-m bartowski/Phi-3.5-mini-instruct_Uncensored-GGUF
-m Orenguteng/Llama-3.1-8B-Lexi-Uncensored-V2-GGUF
-m LWDCLS/DarkIdol-Llama-3.1-8B-Instruct-1.2-Uncensored-GGUF-IQ-Imatrix-Request
-m TheBloke/Unholy-v2-13B-GGUF
-m x383494/NSFW-3B-Q4_K_M-GGUF
Remote:
Expand Down

0 comments on commit bc78ba6

Please sign in to comment.