Teapack1 commited on
Commit
8f15d67
1 Parent(s): ba86b0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,7 +1,11 @@
1
  import subprocess
2
 
3
- subprocess.run(["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"])
4
 
 
 
 
 
5
  #os.system("uvicorn server:app --reload")
6
 
7
  """
 
1
  import subprocess
2
 
3
+ #subprocess.run(["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"])
4
 
5
+ command = ["ffmpeg", "-list_devices", "true", "-f", "dshow", "-i", ""]
6
+ print(command)
7
+ ffmpeg_devices = subprocess.run(command)
8
+ print(ffmpeg_devices)
9
  #os.system("uvicorn server:app --reload")
10
 
11
  """