fix whitespace and instruction on inference

This commit is contained in:
Wing Lian
2023-05-07 08:28:15 -04:00
parent 76b24bca2e
commit 47ad3890bc
2 changed files with 2 additions and 2 deletions

View File

@@ -34,6 +34,6 @@ jobs:
with:
context: .
file: ./Dockerfile
push: ${{ github.event.base_ref =='refs/heads/main' && github.ref_type == 'tag' && !startsWith(github.ref, 'refs/tags/v0.')}}
push: ${{ github.event.base_ref == 'refs/heads/main' && github.ref_type == 'tag' && !startsWith(github.ref, 'refs/tags/v0.')}}
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}

View File

@@ -49,7 +49,7 @@ def choose_device(cfg):
def get_multi_line_input() -> Optional[str]:
print("Give me an instruction (Ctrl + Z to finish): ")
print("Give me an instruction (Ctrl + D to finish): ")
instruction = ""
for line in sys.stdin:
instruction += line