Teapack1 commited on
Commit
981678c
1 Parent(s): 5de57f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -1,11 +1,11 @@
1
  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)
9
  #os.system("uvicorn server:app --reload")
10
 
11
  """
 
1
  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)
9
  #os.system("uvicorn server:app --reload")
10
 
11
  """