Teapack1 commited on
Commit
20cd2cb
1 Parent(s): 27bc7e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import subprocess
2
 
3
  #subprocess.run(["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"])
4
 
5
- command = ["arecord", "-l"]
6
  print(command)
7
  result = subprocess.run(command, stdout=subprocess.PIPE, text=True)
8
  print("Output:\n", result.stdout)
 
2
 
3
  #subprocess.run(["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"])
4
 
5
+ command = ["/proc/asound/devices"]
6
  print(command)
7
  result = subprocess.run(command, stdout=subprocess.PIPE, text=True)
8
  print("Output:\n", result.stdout)