Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,10 +19,10 @@ st.markdown(f"""
|
|
| 19 |
""", unsafe_allow_html=True)
|
| 20 |
st.markdown("<h2 style='text-align: center;'>The ViBidLQA System </h2>", unsafe_allow_html=True)
|
| 21 |
|
| 22 |
-
url_api_retrieval_model = st.secrets
|
| 23 |
st.success(url_api_retrieval_model)
|
| 24 |
-
url_api_extraction_model = st.secrets
|
| 25 |
-
url_api_generation_model = st.secrets
|
| 26 |
|
| 27 |
answering_method = st.sidebar.selectbox(options=['Extraction', 'Generation'], label='Chọn mô hình trả lời câu hỏi:', index=0)
|
| 28 |
|
|
|
|
| 19 |
""", unsafe_allow_html=True)
|
| 20 |
st.markdown("<h2 style='text-align: center;'>The ViBidLQA System </h2>", unsafe_allow_html=True)
|
| 21 |
|
| 22 |
+
url_api_retrieval_model = st.secrets["ViBidLQA_Retrieval_Module"]
|
| 23 |
st.success(url_api_retrieval_model)
|
| 24 |
+
url_api_extraction_model = st.secrets["ViBidLQA_EQA_Module"]
|
| 25 |
+
url_api_generation_model = st.secrets["ViBidLQA_AQA_Module"]
|
| 26 |
|
| 27 |
answering_method = st.sidebar.selectbox(options=['Extraction', 'Generation'], label='Chọn mô hình trả lời câu hỏi:', index=0)
|
| 28 |
|