Mr7Explorer commited on
Commit
de309bd
·
verified ·
1 Parent(s): 545c2f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -587,7 +587,7 @@ def analyze_audio(audio_file, progress=gr.Progress()):
587
 
588
  # ==================== CREATE INTERFACE ====================
589
 
590
- with gr.Blocks(title="Audio Forensic Analyzer", theme=gr.themes.Soft()) as demo:
591
 
592
  gr.Markdown("""
593
  # 🎵 Audio Forensic Analyzer
@@ -628,12 +628,6 @@ with gr.Blocks(title="Audio Forensic Analyzer", theme=gr.themes.Soft()) as demo:
628
  inputs=[audio_input],
629
  outputs=[report_output, summary_output]
630
  )
631
-
632
- audio_input.change(
633
- fn=analyze_audio,
634
- inputs=[audio_input],
635
- outputs=[report_output, summary_output]
636
- )
637
 
638
  if __name__ == "__main__":
639
  demo.launch()
 
587
 
588
  # ==================== CREATE INTERFACE ====================
589
 
590
+ with gr.Blocks(title="Audio Forensic Analyzer") as demo:
591
 
592
  gr.Markdown("""
593
  # 🎵 Audio Forensic Analyzer
 
628
  inputs=[audio_input],
629
  outputs=[report_output, summary_output]
630
  )
 
 
 
 
 
 
631
 
632
  if __name__ == "__main__":
633
  demo.launch()