Liusuthu commited on
Commit
7892708
·
verified ·
1 Parent(s): 11803fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 preprocess_video_and_rank,video_score
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=preprocess_video_and_rank,
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,