Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from transformers import pipeline, AutoModelForSeq2SeqLM, AutoTokenizer
|
|
4 |
from gtts import gTTS
|
5 |
from io import BytesIO
|
6 |
import re
|
|
|
7 |
|
8 |
# Load the LED-large model for summarization
|
9 |
model_name = "pszemraj/led-large-book-summary"
|
|
|
4 |
from gtts import gTTS
|
5 |
from io import BytesIO
|
6 |
import re
|
7 |
+
import os
|
8 |
|
9 |
# Load the LED-large model for summarization
|
10 |
model_name = "pszemraj/led-large-book-summary"
|