hyechanjun commited on
Commit
035efeb
·
1 Parent(s): 7abfa7c

Added a spinner

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -61,6 +61,7 @@ elif option == 'reverse-interview-question':
61
  st.write("This model asks a question that would have resulted in the context you provide (a.k.a. it traverses backward through the interview)")
62
 
63
  if st.button('Submit'):
64
- output = genQuestion(option, input)
65
- print(output)
 
66
  st.write(output)
 
61
  st.write("This model asks a question that would have resulted in the context you provide (a.k.a. it traverses backward through the interview)")
62
 
63
  if st.button('Submit'):
64
+ with st.spinner('Generating a response...'):
65
+ output = genQuestion(option, input)
66
+ print(output)
67
  st.write(output)