Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import soundfile as sf
|
|
6 |
import torchaudio
|
7 |
from speechbrain.pretrained.interfaces import foreign_class
|
8 |
|
9 |
-
from app_utils import
|
10 |
from authors import AUTHORS
|
11 |
|
12 |
# Importing necessary components for the Gradio app
|
@@ -185,7 +185,7 @@ with gr.Blocks(css="app.css") as video:
|
|
185 |
queue=True,
|
186 |
)
|
187 |
submit_and_rank.click(
|
188 |
-
fn=
|
189 |
inputs=input_video,
|
190 |
outputs=[
|
191 |
output_statistics,
|
|
|
6 |
import torchaudio
|
7 |
from speechbrain.pretrained.interfaces import foreign_class
|
8 |
|
9 |
+
from app_utils import video_score
|
10 |
from authors import AUTHORS
|
11 |
|
12 |
# Importing necessary components for the Gradio app
|
|
|
185 |
queue=True,
|
186 |
)
|
187 |
submit_and_rank.click(
|
188 |
+
fn=video_score,
|
189 |
inputs=input_video,
|
190 |
outputs=[
|
191 |
output_statistics,
|