Skip to content

Commit

Permalink
fixed text worker
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Mar 11, 2023
1 parent 50b81f1 commit 17b6145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inference/text-client/__main__.py
Expand Up @@ -70,7 +70,7 @@ def main(backend_url: str = "http://127.0.0.1:8000"):
raise
if error := data.get("error"):
raise Exception(error)
print(data["token"]["text"], end="", flush=True)
print(data["text"], end="", flush=True)
print()
parent_id = message_id
except typer.Abort:
Expand Down

0 comments on commit 17b6145

Please sign in to comment.