Spaces:
Runtime error
Runtime error
st.cache()
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
|
3 |
-
@st.
|
4 |
def get_pipe():
|
5 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
6 |
model_name = "heegyu/ajoublue-gpt2-medium-summarization"
|
|
|
1 |
import streamlit as st
|
2 |
|
3 |
+
@st.cache(allow_output_mutation=True)
|
4 |
def get_pipe():
|
5 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
6 |
model_name = "heegyu/ajoublue-gpt2-medium-summarization"
|