cb1716pics commited on
Commit
345c104
·
verified ·
1 Parent(s): 58a211a

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ with col1:
81
  if st.button("Calculate Metrics"):
82
  metrics = calculate_metrics(question, st.session_state.response, st.session_state.retrieved_documents, st.session_state.time_taken_for_response)
83
  else:
84
- metrics = ""
85
 
86
  with col2:
87
  #st.text_area("Metrics:", value=metrics, height=100, disabled=True)
 
81
  if st.button("Calculate Metrics"):
82
  metrics = calculate_metrics(question, st.session_state.response, st.session_state.retrieved_documents, st.session_state.time_taken_for_response)
83
  else:
84
+ metrics = {}
85
 
86
  with col2:
87
  #st.text_area("Metrics:", value=metrics, height=100, disabled=True)