Teapack1 commited on
Commit
b254354
·
1 Parent(s): 2bd4020

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import subprocess
4
 
5
  command = ["arecord", "-l"]
6
  print(command)
7
- ffmpeg_devices = subprocess.run(command)
8
- print(ffmpeg_devices)
9
  #os.system("uvicorn server:app --reload")
10
 
11
  """
 
4
 
5
  command = ["arecord", "-l"]
6
  print(command)
7
+ result = subprocess.run(command, stdout=subprocess.PIPE, text=True)
8
+ print("Output:\n", result.stdout)
9
  #os.system("uvicorn server:app --reload")
10
 
11
  """