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

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="onlplab/alephbart-summarization")
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="yam-peleg/Hebrew-Mistral-7B-200K")
13
 
14
  def transcribe_and_summarize(file_path):
15
  try: