Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
6 |
|
7 |
@st.cache(hash_funcs=
|
8 |
{transformers.models.gpt2.tokenization_gpt2_fast.GPT2TokenizerFast: hash},
|
9 |
-
suppress_st_warning=True)
|
10 |
|
11 |
def load_data():
|
12 |
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-medium")
|
|
|
6 |
|
7 |
@st.cache(hash_funcs=
|
8 |
{transformers.models.gpt2.tokenization_gpt2_fast.GPT2TokenizerFast: hash},
|
9 |
+
suppress_st_warning=True, allow_output_mutation=True)
|
10 |
|
11 |
def load_data():
|
12 |
tokenizer = AutoTokenizer.from_pretrained("microsoft/DialoGPT-medium")
|