Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
import
|
3 |
-
from transformers import AutoTokenizer, AutoModel, pipeline, T5ForConditionalGeneration
|
4 |
|
5 |
model_name = "versae/modernisa-pre"
|
6 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
|
1 |
import gradio as gr
|
2 |
+
from transformers import AutoTokenizer, pipeline, T5ForConditionalGeneration
|
|
|
3 |
|
4 |
model_name = "versae/modernisa-pre"
|
5 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|