Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,6 +73,8 @@ if text:
|
|
73 |
|
74 |
st.session_state.history += "Based on the following information" + answer +"answer this question:" + text # Add new text to history
|
75 |
out = pipe(st.session_state.history) # Generate output based on history
|
|
|
|
|
76 |
|
77 |
translated_text2 = translator2.translate(out[0]['generated_text'])
|
78 |
|
|
|
73 |
|
74 |
st.session_state.history += "Based on the following information" + answer +"answer this question:" + text # Add new text to history
|
75 |
out = pipe(st.session_state.history) # Generate output based on history
|
76 |
+
|
77 |
+
st.text(st.session_state.history)
|
78 |
|
79 |
translated_text2 = translator2.translate(out[0]['generated_text'])
|
80 |
|