Update app.py
Browse files
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="
|
| 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)
|