Spaces:
Runtime error
Runtime error
shubh2014shiv
commited on
Commit
•
05b7d64
1
Parent(s):
a40678b
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ class TranslationModel(pl.LightningModule):
|
|
21 |
self.model = AutoModelWithLMHead.from_pretrained("Helsinki-NLP/opus-mt-ja-en", return_dict=True)
|
22 |
|
23 |
|
24 |
-
|
25 |
def loadFineTunedJaEn_NMT_Model():
|
26 |
save_dest = Path('model')
|
27 |
save_dest.mkdir(exist_ok=True)
|
|
|
21 |
self.model = AutoModelWithLMHead.from_pretrained("Helsinki-NLP/opus-mt-ja-en", return_dict=True)
|
22 |
|
23 |
|
24 |
+
#@st.experimental_singleton
|
25 |
def loadFineTunedJaEn_NMT_Model():
|
26 |
save_dest = Path('model')
|
27 |
save_dest.mkdir(exist_ok=True)
|