vi108 commited on
Commit
dab8b4a
Β·
verified Β·
1 Parent(s): 11b38cd

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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("## πŸ” 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)")
 
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)")