Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,9 +3,9 @@ import pandas as pd
|
|
3 |
from transformers import pipelines
|
4 |
|
5 |
# transformers パイプラインのインポート
|
6 |
-
fugu_translator_enja =
|
7 |
-
fugu_translator_jaen =
|
8 |
-
zhja_translator =
|
9 |
|
10 |
# Streamlit アプリケーション
|
11 |
st.title("Multi-Language Translator")
|
|
|
3 |
from transformers import pipelines
|
4 |
|
5 |
# transformers パイプラインのインポート
|
6 |
+
fugu_translator_enja = pipeline("translation", model="staka/fugumt-en-ja")
|
7 |
+
fugu_translator_jaen = pipeline("translation",model='staka/fugumt-ja-en')
|
8 |
+
zhja_translator = pipeline("translation",model="Helsinki-NLP/opus-mt-tc-big-zh-ja")
|
9 |
|
10 |
# Streamlit アプリケーション
|
11 |
st.title("Multi-Language Translator")
|