joermd commited on
Commit
3164dc4
·
verified ·
1 Parent(s): 0b2d28c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
2
  import streamlit as st
3
 
4
  # Load pre-trained BART model for summarization
5
- summarizer = pipeline("summarization", model="hiba2/results")
6
 
7
  # Summarization function
8
  def summarize_text(text, max_length=150):
 
2
  import streamlit as st
3
 
4
  # Load pre-trained BART model for summarization
5
+ summarizer = pipeline("summarization", model="ahmedabdelwahed/AraSumm")
6
 
7
  # Summarization function
8
  def summarize_text(text, max_length=150):