Gopal2002 commited on
Commit
12ebeac
·
verified ·
1 Parent(s): b298907

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -6
app.py CHANGED
@@ -58,9 +58,7 @@ st.title('Test Multi GPU')
58
 
59
  md = st.text_area('Type in your markdown string (without outer quotes)')
60
 
61
- st.button("Enter", type="primary")
62
- if st.button("Say hello"):
63
- resp=llm_chain.invoke(md)['text']
64
- st.write(resp)
65
- else:
66
- st.write("Goodbye")
 
58
 
59
  md = st.text_area('Type in your markdown string (without outer quotes)')
60
 
61
+ if st.button("Enter"):
62
+ with st.spinner(text="In progress..."):
63
+ resp=llm_chain.invoke(md)['text']
64
+ st.write(resp)