Update app.py
Browse files
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 |
"""
|