Spaces:
Build error
Build error
Commit
·
035efeb
1
Parent(s):
7abfa7c
Added a spinner
Browse files
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 |
-
|
65 |
-
|
|
|
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)
|