joermd commited on
Commit
fea6bf0
1 Parent(s): ec7ac98

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="ahmedabdelwahed/Mojiz-DPO-1e-5-4000-steps-beta-1e-1")
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="ranwakhaled/fine-tuned-T5-for-Arabic-summarization")
6
 
7
  # Summarization function
8
  def summarize_text(text, max_length=150):