Spaces:
Sleeping
Sleeping
waqasali1707
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -44,9 +44,6 @@ if st.session_state.context:
|
|
44 |
with st.spinner("Generating Answer..."):
|
45 |
try:
|
46 |
answer = question_answerer(question=question_input, context=st.session_state.context)
|
47 |
-
# Print the full output for debugging
|
48 |
-
st.write("Full Output:", answer)
|
49 |
-
|
50 |
# Display the answer
|
51 |
st.subheader("Answer")
|
52 |
st.write(answer.get('answer', 'No answer found'))
|
|
|
44 |
with st.spinner("Generating Answer..."):
|
45 |
try:
|
46 |
answer = question_answerer(question=question_input, context=st.session_state.context)
|
|
|
|
|
|
|
47 |
# Display the answer
|
48 |
st.subheader("Answer")
|
49 |
st.write(answer.get('answer', 'No answer found'))
|