Ahmed235 commited on
Commit
e025c42
·
verified ·
1 Parent(s): 1fe4ef5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import json
6
 
7
  # Create a text classification pipeline
8
  classifier = pipeline("text-classification", model="Ahmed235/roberta_classification", tokenizer="Ahmed235/roberta_classification")
9
- summarizer = pipeline("summarization", model="Ahmed235/t5_summarize")
10
 
11
  def extract_text_from_pptx(file_path):
12
  presentation = Presentation(file_path)
 
6
 
7
  # Create a text classification pipeline
8
  classifier = pipeline("text-classification", model="Ahmed235/roberta_classification", tokenizer="Ahmed235/roberta_classification")
9
+ summarizer = pipeline("summarization", model="Falconsai/text_summarization")
10
 
11
  def extract_text_from_pptx(file_path):
12
  presentation = Presentation(file_path)