Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ print("Running on CPU")
|
|
| 11 |
|
| 12 |
|
| 13 |
# Load the tiny Whisper model
|
| 14 |
-
|
| 15 |
|
| 16 |
# Load the text summarization model from Hugging Face
|
| 17 |
summarizer = pipeline(task="summarization", model="facebook/bart-large-cnn")
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
# Load the tiny Whisper model
|
| 14 |
+
whisper_model = whisper.load_model("tiny")
|
| 15 |
|
| 16 |
# Load the text summarization model from Hugging Face
|
| 17 |
summarizer = pipeline(task="summarization", model="facebook/bart-large-cnn")
|