Skip to content

Commit

Permalink
remove spin
Browse files Browse the repository at this point in the history
  • Loading branch information
xyyimian committed Aug 21, 2024
1 parent 9a78395 commit 5a2e00a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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 @@ -146,7 +146,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 @@ -69,7 +69,7 @@ def __init__(self, model_path, **kwargs):
exit(1)


@SpinningCursorAnimation()
#@SpinningCursorAnimation()
def _load_model(self):
from faster_whisper import WhisperModel

Expand Down

0 comments on commit 5a2e00a

Please sign in to comment.