Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
classifier = pipeline("
|
5 |
def main():
|
6 |
st.title("translate English to German")
|
7 |
|
|
|
1 |
import streamlit as st
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
classifier = pipeline("translation_en_to_de", model="t5-base")
|
5 |
def main():
|
6 |
st.title("translate English to German")
|
7 |
|