tbels89 commited on
Commit
b241e32
·
1 Parent(s): 44bdb61

updated UI again

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -488,15 +488,4 @@ if prompt := st.chat_input("Ask Prometheus... Type 'quit' to clear history."):
488
  st.markdown(f"- **Result {i+1}:** Page {res['page_num']}")
489
  st.code(res['content'])
490
  else:
491
- st.warning("No relevant sources found.")
492
-
493
- # Optional log viewer
494
- """
495
- with st.expander("📜 View Logs (Optional)", expanded=False):
496
- try:
497
- with open(LOG_FILE_PATH, 'r') as log_file:
498
- logs = log_file.read()
499
- st.text_area("Logs", logs, height=200, key="log_viewer", disabled=True)
500
- except Exception as e:
501
- st.warning(f"Unable to read logs: {e}")
502
- """
 
488
  st.markdown(f"- **Result {i+1}:** Page {res['page_num']}")
489
  st.code(res['content'])
490
  else:
491
+ st.warning("No relevant sources found.")