Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import PegasusForConditionalGeneration, PegasusTokenizer
|
3 |
|
4 |
-
st.title(Paraphrase with Pegasus")
|
5 |
|
6 |
model_name = "tuner007/pegasus_paraphrase"
|
7 |
torch_device = "cpu"
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import PegasusForConditionalGeneration, PegasusTokenizer
|
3 |
|
4 |
+
st.title("Paraphrase with Pegasus")
|
5 |
|
6 |
model_name = "tuner007/pegasus_paraphrase"
|
7 |
torch_device = "cpu"
|