Skip to content

Commit

Permalink
remove cursor to try
Browse files Browse the repository at this point in the history
  • Loading branch information
xyyimian committed Aug 21, 2024
1 parent fee9553 commit 1bae4e6
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install numpy --upgrade
python -m pip install build pytest
- name: Build DLL
run: |
Expand Down
2 changes: 1 addition & 1 deletion nexa/gguf/nexa_inference_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __init__(self, model_path, **kwargs):
logging.error("Failed to load the model or pipeline.")
exit(1)

@SpinningCursorAnimation()
# @SpinningCursorAnimation()
def _load_model(self, model_path: str):
with suppress_stdout_stderr():
from nexa.gguf.sd.stable_diffusion import StableDiffusion
Expand Down
2 changes: 1 addition & 1 deletion nexa/gguf/nexa_inference_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def create_embedding(
"""
return self.model.create_embedding(input)

@SpinningCursorAnimation()
# @SpinningCursorAnimation()
def _load_model(self):
logging.debug(f"Loading model from {self.downloaded_path}")
start_time = time.time()
Expand Down
2 changes: 1 addition & 1 deletion nexa/gguf/nexa_inference_vlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def __init__(self, model_path, stop_words=None, **kwargs):
)
exit(1)

@SpinningCursorAnimation()
# @SpinningCursorAnimation()
def _load_model(self):
logging.debug(f"Loading model from {self.downloaded_path}")
start_time = time.time()
Expand Down
2 changes: 1 addition & 1 deletion nexa/gguf/nexa_inference_voice.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def __init__(self, model_path, **kwargs):
exit(1)


@SpinningCursorAnimation()
# @SpinningCursorAnimation()
def _load_model(self):
logging.debug(f"Loading model from: {self.downloaded_path}")
with suppress_stdout_stderr():
Expand Down

0 comments on commit 1bae4e6

Please sign in to comment.