Spaces:
Runtime error
Runtime error
manmeetkaurbaxi
commited on
Commit
·
61d733a
1
Parent(s):
82a1f44
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,8 @@ from IPython.display import Audio
|
|
7 |
from pprint import pprint
|
8 |
import os
|
9 |
import gradio as gr
|
|
|
|
|
10 |
|
11 |
# Constants
|
12 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
7 |
from pprint import pprint
|
8 |
import os
|
9 |
import gradio as gr
|
10 |
+
import subprocess # process in the os
|
11 |
+
from subprocess import STDOUT, check_call #os process manipulation
|
12 |
|
13 |
# Constants
|
14 |
DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|