Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

David debug #31

Merged
merged 2 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nexa/cli/entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ def run_ggml_inference(args):
if hasattr(args, 'streamlit') and args.streamlit:
inference.run_streamlit(model_path)
elif args.img2img:
inference.loop_img2img()
inference.run_img2img()
else:
inference.loop_txt2img()
inference.run_txt2img()
return
elif args.command == "vlm":
from nexa.gguf.nexa_inference_vlm import NexaVLMInference
Expand Down
4 changes: 2 additions & 2 deletions nexa/onnx/nexa_inference_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class NexaImageInference:
A class used for loading image models and running image generation.

Methods:
run: Run the image generation loop.
run_streamlit: Run the Streamlit UI.
run: Run the image generation loop.
run_streamlit: Run the Streamlit UI.

Args:
model_path (str): Path or identifier for the model in Nexa Model Hub.
Expand Down
Loading