Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
import
|
2 |
-
from transformers import pipeline
|
3 |
import gradio as gr
|
4 |
|
5 |
summarizer = pipeline("summarization", model="t5-base", tokenizer="t5-small", truncation=True, framework="tf")
|
|
|
1 |
+
from sentence-transformers import pipeline
|
|
|
2 |
import gradio as gr
|
3 |
|
4 |
summarizer = pipeline("summarization", model="t5-base", tokenizer="t5-small", truncation=True, framework="tf")
|