arkmartov commited on
Commit
049c790
1 Parent(s): 5ca6967

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  import torch
3
 
4
- @st.cache
5
  def Model():
6
  from transformers import DebertaTokenizer, DebertaForSequenceClassification
7
  tokenizer = DebertaTokenizer.from_pretrained("microsoft/deberta-base")
 
1
  import streamlit as st
2
  import torch
3
 
4
+ @st.cache(allow_output_mutation=True)
5
  def Model():
6
  from transformers import DebertaTokenizer, DebertaForSequenceClassification
7
  tokenizer = DebertaTokenizer.from_pretrained("microsoft/deberta-base")