Skip to content

Commit 232213a

Browse files
Format code (#874)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 85d0d70 commit 232213a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

config.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55

66

77
def use_fp32_config():
8-
for config_file in ["32k.json", "40k.json", "48k.json", "48k_v2.json", "32k_v2.json"]:
8+
for config_file in [
9+
"32k.json",
10+
"40k.json",
11+
"48k.json",
12+
"48k_v2.json",
13+
"32k_v2.json",
14+
]:
915
with open(f"configs/{config_file}", "r") as f:
1016
strr = f.read().replace("true", "false")
1117
with open(f"configs/{config_file}", "w") as f:

infer-web.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
import shutil
33
import sys
4+
45
now_dir = os.getcwd()
56
sys.path.append(now_dir)
67
import traceback, pdb

0 commit comments

Comments
 (0)