Skip to content

Commit

Permalink
feat: finalize to command to run inferencs
Browse files Browse the repository at this point in the history
  • Loading branch information
FireHead90544 committed Jul 27, 2024
1 parent fc79b2f commit b2e4b15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion how.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from typing_extensions import Annotated
from rich.prompt import Prompt
from core.config import Config
from formatting import display_result

app = typer.Typer(
name="how",
Expand All @@ -21,7 +22,9 @@ def to(
typer.secho("Please setup the configuration first using `how setup`", fg="red", bold=True)
raise typer.Abort()

print(f"Send {task} to LLM. Test Finished.")
from infer import get_result
result = get_result(task)
display_result(task, result)


@app.command()
Expand Down

0 comments on commit b2e4b15

Please sign in to comment.