Sayiqa7 commited on
Commit
17d2cf6
·
verified ·
1 Parent(s): 2f645cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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