Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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)
|