Spaces:
Runtime error
Runtime error
edited app file.
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
import subprocess, platform
|
| 2 |
|
| 3 |
if platform.system() == 'Linux':
|
| 4 |
-
subprocess.run(['apt-get', 'install', 'libsndfile1'])
|
| 5 |
-
subprocess.run(['apt-get', 'install', 'ffmpeg'])
|
| 6 |
|
| 7 |
import gradio as gr
|
| 8 |
from inference import *
|
|
|
|
| 1 |
import subprocess, platform
|
| 2 |
|
| 3 |
if platform.system() == 'Linux':
|
| 4 |
+
subprocess.run(['sudo', 'apt-get', 'install', 'libsndfile1'], check=True)
|
| 5 |
+
subprocess.run(['sudo', 'apt-get', 'install', 'ffmpeg'], check=True)
|
| 6 |
|
| 7 |
import gradio as gr
|
| 8 |
from inference import *
|