astro21 commited on
Commit
4cf87c9
·
1 Parent(s): 77ead4c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
 
4
  # Load the text summarization pipeline
5
- summarizer = pipeline("summarization", model="astro21/Llama-2-7b-chat-hf")
6
 
7
  def summarize_text(input_text):
8
  # Use the summarization pipeline to generate a summary
 
2
  from transformers import pipeline
3
 
4
  # Load the text summarization pipeline
5
+ summarizer = pipeline("summarization", model="astro21/bart-cls")
6
 
7
  def summarize_text(input_text):
8
  # Use the summarization pipeline to generate a summary