Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ if text:
|
|
69 |
# text_to_translate2 = text[499:999]
|
70 |
# translated_text2 = translator.translate(text_to_translate2)
|
71 |
|
72 |
-
|
73 |
st.write(generated_text, allow_output_mutation=True)
|
74 |
|
75 |
st.session_state.history += "Based on the following information" + answer +"answer this question by reasoning step by step:" + text # Add new text to history
|
|
|
69 |
# text_to_translate2 = text[499:999]
|
70 |
# translated_text2 = translator.translate(text_to_translate2)
|
71 |
|
72 |
+
with st.expander("View Full Output", expanded=False):
|
73 |
st.write(generated_text, allow_output_mutation=True)
|
74 |
|
75 |
st.session_state.history += "Based on the following information" + answer +"answer this question by reasoning step by step:" + text # Add new text to history
|