Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
|
|
3 |
model_path='Sibinraj/T5-finetuned-dialogue_sumxx'
|
4 |
model = T5ForConditionalGeneration.from_pretrained(model_path)
|
5 |
tokenizer = T5Tokenizer.from_pretrained(model)
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
+
from transformers import T5ForConditionalGeneration, T5Tokenizer
|
4 |
model_path='Sibinraj/T5-finetuned-dialogue_sumxx'
|
5 |
model = T5ForConditionalGeneration.from_pretrained(model_path)
|
6 |
tokenizer = T5Tokenizer.from_pretrained(model)
|