Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -3
src/streamlit_app.py
CHANGED
|
@@ -190,18 +190,18 @@ if st.button("Submit") and user_input:
|
|
| 190 |
|
| 191 |
|
| 192 |
st.markdown("---")
|
| 193 |
-
st.markdown("##
|
| 194 |
|
| 195 |
st.markdown("### πΆ Chinese Query Used for Retrieval")
|
| 196 |
st.write(result["retrieval_query_chinese"])
|
| 197 |
|
| 198 |
#if torch.max(similarities).item() < 0.4:
|
| 199 |
|
| 200 |
-
st.markdown("##
|
| 201 |
st.markdown("### π§ββοΈ Matched or Closest Patient Question")
|
| 202 |
st.write(result["matched_question"])
|
| 203 |
|
| 204 |
-
st.markdown("### π¨π³ Original Doctor Response (Chinese)")
|
| 205 |
st.write(result["original_response"])
|
| 206 |
|
| 207 |
st.markdown("### π Translated Doctor Response (English)")
|
|
|
|
| 190 |
|
| 191 |
|
| 192 |
st.markdown("---")
|
| 193 |
+
st.markdown("## Retrieval Example (from ReMeDi dataset)")
|
| 194 |
|
| 195 |
st.markdown("### πΆ Chinese Query Used for Retrieval")
|
| 196 |
st.write(result["retrieval_query_chinese"])
|
| 197 |
|
| 198 |
#if torch.max(similarities).item() < 0.4:
|
| 199 |
|
| 200 |
+
st.markdown("## Example Historical Dialogue")
|
| 201 |
st.markdown("### π§ββοΈ Matched or Closest Patient Question")
|
| 202 |
st.write(result["matched_question"])
|
| 203 |
|
| 204 |
+
st.markdown("### π©Ί π¨π³ Original Doctor Response (Chinese)")
|
| 205 |
st.write(result["original_response"])
|
| 206 |
|
| 207 |
st.markdown("### π Translated Doctor Response (English)")
|