Add-Vishnu commited on
Commit
3b98f2f
·
1 Parent(s): 25b6136

Added wine to the command

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def dem(audio):
7
  print(audio)
8
  sr,y = audio
9
  print(f"Speech rate:{sr} and audio : {y}")
10
- command = r"""'./whisper_blas_bin_v1_3_0/main.exe' -h"""
11
  command2 = """chmod +777 ./whisper_blas_bin_v1_3_0/main.exe"""
12
  perm = subprocess.run(command2, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
13
  result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)
 
7
  print(audio)
8
  sr,y = audio
9
  print(f"Speech rate:{sr} and audio : {y}")
10
+ command = r"""wine'./whisper_blas_bin_v1_3_0/main.exe' -h"""
11
  command2 = """chmod +777 ./whisper_blas_bin_v1_3_0/main.exe"""
12
  perm = subprocess.run(command2, shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE, text=True)
13
  result = subprocess.run(command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True)