Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -463,6 +463,7 @@ courses_data = [
|
|
| 463 |
(4, "Computer Science", "Ms. Evelyn", "Intermediate"),
|
| 464 |
(5, "Mathematics", "Ms. Smith", "Intermediate")
|
| 465 |
]
|
|
|
|
| 466 |
# Load Hugging Face summarization pipeline
|
| 467 |
summarizer = pipeline("summarization", model="t5-small", tokenizer="t5-small")
|
| 468 |
|
|
|
|
| 463 |
(4, "Computer Science", "Ms. Evelyn", "Intermediate"),
|
| 464 |
(5, "Mathematics", "Ms. Smith", "Intermediate")
|
| 465 |
]
|
| 466 |
+
from transformers import pipeline
|
| 467 |
# Load Hugging Face summarization pipeline
|
| 468 |
summarizer = pipeline("summarization", model="t5-small", tokenizer="t5-small")
|
| 469 |
|