lanzhiwang commited on
Commit
35b0175
1 Parent(s): dced84d
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ lang_id = {
118
  }
119
 
120
 
121
- @st.cache_data(suppress_st_warning=True, allow_output_mutation=True)
122
  def load_model(
123
  pretrained_model: str = "facebook/m2m100_1.2B",
124
  cache_dir: str = "models/",
 
118
  }
119
 
120
 
121
+ @st.cache_data(allow_output_mutation=True)
122
  def load_model(
123
  pretrained_model: str = "facebook/m2m100_1.2B",
124
  cache_dir: str = "models/",