More style issue fixes.

This commit is contained in:
Fangjun Kuang 2021-08-23 13:28:30 +08:00
parent 7b267e8be6
commit 4d849cfd03
2 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ jobs:
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
python3 -m pip install --upgrade pip black flake8 python3 -m pip install --upgrade pip black==21.6b0 flake8==3.9.2
- name: Run flake8 - name: Run flake8
shell: bash shell: bash

View File

@ -268,7 +268,7 @@ def main():
) )
waves = [w.to(device) for w in waves] waves = [w.to(device) for w in waves]
logging.info(f"Decoding started") logging.info("Decoding started")
features = fbank(waves) features = fbank(waves)
features = pad_sequence( features = pad_sequence(
@ -338,7 +338,7 @@ def main():
s += f"{filename}:\n{words}\n\n" s += f"{filename}:\n{words}\n\n"
logging.info(s) logging.info(s)
logging.info(f"Decoding Done") logging.info("Decoding Done")
if __name__ == "__main__": if __name__ == "__main__":