Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import torch
|
2 |
-
from transformers import T5ForConditionalGeneration,
|
3 |
import streamlit as st
|
4 |
st.title("Paraphrase")
|
5 |
model_name = st.text_input("Pick a Model", "geckos/pegasus-fined-tuned-on-paraphrase")
|
|
|
1 |
import torch
|
2 |
+
from transformers import T5ForConditionalGeneration, AutoTokenizer, AutoModelForSeq2SeqLM
|
3 |
import streamlit as st
|
4 |
st.title("Paraphrase")
|
5 |
model_name = st.text_input("Pick a Model", "geckos/pegasus-fined-tuned-on-paraphrase")
|