Spaces:
Sleeping
Sleeping
John Graham Reynolds
commited on
Commit
·
fecee72
1
Parent(s):
102a4d9
using streaming
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -8,4 +8,4 @@ chain = GlossaryChain()
|
|
| 8 |
input_text = st.text_input("Enter your question:")
|
| 9 |
|
| 10 |
if st.button("Submit"):
|
| 11 |
-
st.write(chain.
|
|
|
|
| 8 |
input_text = st.text_input("Enter your question:")
|
| 9 |
|
| 10 |
if st.button("Submit"):
|
| 11 |
+
st.write(chain.stream(input_text))
|