Ofiroz91 commited on
Commit
0129474
ยท
verified ยท
1 Parent(s): 9ba013b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from transformers import pipeline
9
  model = WhisperModel("ivrit-ai/faster-whisper-v2-d4")
10
 
11
  # ื”ื’ื“ืจืช pipeline ืœืกื™ื›ื•ื ืขื ืžื•ื“ืœ ืžื•ืชืื ืœืขื‘ืจื™ืช
12
- summarizer = pipeline("summarization", model="avichr/heBART")
13
 
14
  def transcribe_and_summarize(file_path):
15
  try:
 
9
  model = WhisperModel("ivrit-ai/faster-whisper-v2-d4")
10
 
11
  # ื”ื’ื“ืจืช pipeline ืœืกื™ื›ื•ื ืขื ืžื•ื“ืœ ืžื•ืชืื ืœืขื‘ืจื™ืช
12
+ summarizer = pipeline("summarization", model="onlplab/alephbart-summarization")
13
 
14
  def transcribe_and_summarize(file_path):
15
  try: