File size: 1,409 Bytes
0e9ff78
 
 
 
a17bcfd
0e9ff78
a17bcfd
0e9ff78
a17bcfd
 
 
 
0e9ff78
73196e5
a17bcfd
 
 
 
 
 
 
 
 
 
bce4642
0e9ff78
 
73196e5
8a74eae
 
0666452
 
804add3
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import streamlit as st
import pandas as pd
import numpy as np

st.set_page_config(page_title="Machine Translation App", page_icon="🌍", layout="centered")

st.title("🌍 Machine Translation App")

st.write(
    "Chào mừng bạn đến với ứng dụng dịch máy tự động!\n"
    "Ứng dụng này giúp bạn dịch tài liệu một cách nhanh chóng và chính xác."
)

st.header("📌 Hướng dẫn sử dụng (đọc Patch Notes)")
st.write("1. Truy cập [trang upload](#).")
st.write("2. Chọn tệp tin cần dịch (hỗ trợ .docx, .txt, .pdf).")
st.write("3. Chọn ngôn ngữ muốn dịch sang.")
st.write("4. Nhấn **Upload** để bắt đầu dịch.")
st.write("5. Chờ một vài phút để hệ thống xử lý.")
st.write("6. Khi hoàn tất, nhấn **Tải về** để nhận tệp đã dịch.")

# Điều hướng đến trang Upload
to_upload = st.button("📤 Đi đến trang Upload")
if to_upload:
    st.switch_page("pages/upload.py")  # Điều hướng đến trang upload


st.header("🛠️ Patch Notes")
st.subheader("25/03/2025")
st.write("1. Đã hoàn thành file Word, Excel")
st.write("2. Đang tiến hành file PPTX (tiến độ 90% đã có thể dùng thử)")
st.write("3. Sắp tới: file CSV, PDF, JPG")

st.subheader("04/04/2025")
st.write("1. Đã hoàn thành file Word, Excel, PPTX, CSV")
st.write("2. Sắp tới: file PDF, JPG")