Spaces:
Build error
Build error
length tags
Browse files
app.py
CHANGED
|
@@ -118,7 +118,7 @@ input = st.text_area('Context', value=context_example)
|
|
| 118 |
|
| 119 |
if st.button('Submit') or st.session_state.button_sent:
|
| 120 |
with st.spinner('Generating a response...'):
|
| 121 |
-
output = genQuestion(option, input,
|
| 122 |
print(output)
|
| 123 |
# st.write(output)
|
| 124 |
st.session_state.button_sent = True
|
|
|
|
| 118 |
|
| 119 |
if st.button('Submit') or st.session_state.button_sent:
|
| 120 |
with st.spinner('Generating a response...'):
|
| 121 |
+
output = genQuestion(option, input, context_length)
|
| 122 |
print(output)
|
| 123 |
# st.write(output)
|
| 124 |
st.session_state.button_sent = True
|