Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,11 +7,16 @@ from transformers import pipeline
|
|
| 7 |
import torch
|
| 8 |
|
| 9 |
|
| 10 |
-
st.set_page_config(page_title = "Vietnamese Legal Question Answering System", page_icon= "
|
| 11 |
|
| 12 |
with open("./static/styles.css") as f:
|
| 13 |
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
st.markdown(
|
| 16 |
"""
|
| 17 |
<h1 style="text-align: center;">Vietnamese Legal Question Answering System</h1>
|
|
|
|
| 7 |
import torch
|
| 8 |
|
| 9 |
|
| 10 |
+
st.set_page_config(page_title = "Vietnamese Legal Question Answering System", page_icon= "./app/static/Law.png", layout="centered", initial_sidebar_state="collapsed")
|
| 11 |
|
| 12 |
with open("./static/styles.css") as f:
|
| 13 |
st.markdown(f"<style>{f.read()}</style>", unsafe_allow_html=True)
|
| 14 |
+
|
| 15 |
+
st.markdown(f"""
|
| 16 |
+
<div class=logo_area>
|
| 17 |
+
<img src="./app/static/Law.png"/>
|
| 18 |
+
</div>
|
| 19 |
+
""", unsafe_allow_html=True)
|
| 20 |
st.markdown(
|
| 21 |
"""
|
| 22 |
<h1 style="text-align: center;">Vietnamese Legal Question Answering System</h1>
|