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

updated UI

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -491,10 +491,12 @@ if prompt := st.chat_input("Ask Prometheus... Type 'quit' to clear history."):
491
  st.warning("No relevant sources found.")
492
 
493
  # Optional log viewer
 
494
  with st.expander("📜 View Logs (Optional)", expanded=False):
495
  try:
496
  with open(LOG_FILE_PATH, 'r') as log_file:
497
  logs = log_file.read()
498
  st.text_area("Logs", logs, height=200, key="log_viewer", disabled=True)
499
  except Exception as e:
500
- st.warning(f"Unable to read logs: {e}")
 
 
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
+ """