Update pages/GPT.py
Browse files- pages/GPT.py +1 -1
pages/GPT.py
CHANGED
@@ -5,7 +5,7 @@ import transformers
|
|
5 |
import random
|
6 |
import textwrap
|
7 |
|
8 |
-
|
9 |
def load_model():
|
10 |
model_finetuned = transformers.AutoModelWithLMHead.from_pretrained(
|
11 |
'tinkoff-ai/ruDialoGPT-small',
|
|
|
5 |
import random
|
6 |
import textwrap
|
7 |
|
8 |
+
@st.cache_data
|
9 |
def load_model():
|
10 |
model_finetuned = transformers.AutoModelWithLMHead.from_pretrained(
|
11 |
'tinkoff-ai/ruDialoGPT-small',
|