Update app.py
Browse files
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 = ["
|
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 = ["arecord" "-l"]
|
6 |
print(command)
|
7 |
result = subprocess.run(command, stdout=subprocess.PIPE, text=True)
|
8 |
print("Output:\n", result.stdout)
|