Spaces:
Runtime error
Runtime error
Galuh Sahid
commited on
Commit
•
6dd057c
1
Parent(s):
52b2b3c
caching
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ MODELS = {
|
|
19 |
|
20 |
headers = {}
|
21 |
|
22 |
-
@st.cache(show_spinner=False, persist=True
|
23 |
def load_gpt(model_type):
|
24 |
model = GPT2LMHeadModel.from_pretrained(MODELS[model_type])
|
25 |
|
|
|
19 |
|
20 |
headers = {}
|
21 |
|
22 |
+
@st.cache(show_spinner=False, persist=True)
|
23 |
def load_gpt(model_type):
|
24 |
model = GPT2LMHeadModel.from_pretrained(MODELS[model_type])
|
25 |
|