Spaces:
Runtime error
Runtime error
DinoDelija
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
pipeline = pipeline(task="
|
5 |
|
6 |
st.title("Translate English To Fering")
|
7 |
|
8 |
-
st.text_input("English Sentence", key="eng")
|
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
pipeline = pipeline(task="translation", model="DinoDelija/nllb_english_fering")
|
5 |
|
6 |
st.title("Translate English To Fering")
|
7 |
|
8 |
+
eng_sentence = st.text_input("English Sentence", key="eng")
|
9 |
+
print(eng_sentence)
|