Spaces:
Runtime error
Runtime error
lanzhiwang
commited on
Commit
•
35b0175
1
Parent(s):
dced84d
test
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ lang_id = {
|
|
118 |
}
|
119 |
|
120 |
|
121 |
-
@st.cache_data(
|
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/",
|