moazzamdev commited on
Commit
960f7de
·
1 Parent(s): 5650adf

Update page1.py

Browse files
Files changed (1) hide show
  1. page1.py +3 -3
page1.py CHANGED
@@ -42,9 +42,9 @@ def text():
42
  }
43
  )
44
 
45
- #with st.spinner('Generating...'):
46
- for chunk in llm_chain.stream(prompt):
47
- text_output = chunk.get("text", "")
48
 
49
 
50
  with st.chat_message("assistant").markdown(text_output):
 
42
  }
43
  )
44
 
45
+ with st.spinner('Generating...'):
46
+ for chunk in llm_chain.stream(prompt):
47
+ text_output = chunk.get("text", "")
48
 
49
 
50
  with st.chat_message("assistant").markdown(text_output):