RanAlh443 commited on
Commit
04a42cc
·
verified ·
1 Parent(s): c9abb42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
 
2
  def process_audio(audio_file, min_length, max_length):
3
  try:
 
1
+ import gradio as gr
2
+ import whisper
3
+ from transformers import pipeline
4
+ import pandas as pd
5
+
6
+ whisper_model = whisper.load_model("base")
7
+
8
+ summarization = pipeline("summarization", model="facebook/bart-large-cnn")
9
 
10
  def process_audio(audio_file, min_length, max_length):
11
  try: