Truong-Phuc Nguyen
commited on
Commit
•
ac7f046
1
Parent(s):
47e0228
Update AlphaEdu.py
Browse files- AlphaEdu.py +2 -2
AlphaEdu.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
-
|
4 |
import time
|
5 |
import os
|
6 |
import numpy as np
|
@@ -91,7 +91,7 @@ if btn_generate == True:
|
|
91 |
|
92 |
if btn_show_answer:
|
93 |
if st.session_state.output != '':
|
94 |
-
|
95 |
st.code(body=st.session_state.output, language='latex')
|
96 |
else:
|
97 |
pass
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
+
from plms.language_model import TransformersQG
|
4 |
import time
|
5 |
import os
|
6 |
import numpy as np
|
|
|
91 |
|
92 |
if btn_show_answer:
|
93 |
if st.session_state.output != '':
|
94 |
+
st.markdown("<h8 style='text-align: left; font-weight: normal'>Generated QA pairs:</h8>", unsafe_allow_html=True)
|
95 |
st.code(body=st.session_state.output, language='latex')
|
96 |
else:
|
97 |
pass
|