Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
-
pipe = pipeline("thainq107/en-vi-mbart50")
|
| 5 |
st.title("Dự đoán với mô hình HuggingFace")
|
| 6 |
user_input = st.text_area("Nhập đoạn văn tiếng Anh:", "")
|
| 7 |
if st.button("Dự đoán"):
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
+
pipe = pipeline(model="thainq107/en-vi-mbart50")
|
| 5 |
st.title("Dự đoán với mô hình HuggingFace")
|
| 6 |
user_input = st.text_area("Nhập đoạn văn tiếng Anh:", "")
|
| 7 |
if st.button("Dự đoán"):
|