thomasanto7001 commited on
Commit
065ab00
·
verified ·
1 Parent(s): 04a8676

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def transcribe_audio(audio_path):
41
  return result["text"]
42
 
43
  # 📄 Summary generator with batching
44
- ddef generate_summary(text, default_max_len=130, default_min_len=30):
45
  summarizer = pipeline("summarization")
46
  sentences = sent_tokenize(text)
47
 
 
41
  return result["text"]
42
 
43
  # 📄 Summary generator with batching
44
+ def generate_summary(text, default_max_len=130, default_min_len=30):
45
  summarizer = pipeline("summarization")
46
  sentences = sent_tokenize(text)
47