Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -33,8 +33,8 @@ with tab1:
|
|
33 |
context = st.text_area("Enter the essay below:", height=330)
|
34 |
question = st.text_input(label="Enter the question: ")
|
35 |
if example:
|
36 |
-
context = sample_text
|
37 |
-
question = sample_question
|
38 |
|
39 |
button = st.button("Get answer")
|
40 |
if button:
|
|
|
33 |
context = st.text_area("Enter the essay below:", height=330)
|
34 |
question = st.text_input(label="Enter the question: ")
|
35 |
if example:
|
36 |
+
context.text = sample_text
|
37 |
+
question.text = sample_question
|
38 |
|
39 |
button = st.button("Get answer")
|
40 |
if button:
|