DinoDelija commited on
Commit
b61482f
·
verified ·
1 Parent(s): 56482d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
 
4
- pipeline = pipeline(task="image-classification", model="DinoDelija/nllb_english_fering")
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)