Spaces:
Sleeping
Sleeping
Commit
·
7a6ac73
1
Parent(s):
99cbb54
removed commented code
Browse files
app.py
CHANGED
@@ -439,7 +439,6 @@ def process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer):
|
|
439 |
st.session_state.emo = emo
|
440 |
|
441 |
if col1.button(button_label1):
|
442 |
-
#with st.spinner(st.markdown("<p style='font-size: 16px; font-weight: bold;'>Generating tips (it may take upto 2-3 mins). Please wait...</p>", unsafe_allow_html=True)):
|
443 |
with st.spinner("Generating tips (it may take upto 2-3 mins). Please wait..."):
|
444 |
# Retrieve prompt from the emotion
|
445 |
emo = st.session_state.emo
|
@@ -451,7 +450,6 @@ def process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer):
|
|
451 |
|
452 |
|
453 |
if col2.button(button_label2):
|
454 |
-
#with st.spinner(st.markdown("<p style='font-size: 16px; font-weight: bold;'>Generating tips (it may take upto 2-3 mins). Please wait...</p>", unsafe_allow_html=True)):
|
455 |
with st.spinner("Generating tips (it may take upto 2-3 mins). Please wait..."):
|
456 |
# Retrieve prompt from the emotion
|
457 |
emo = st.session_state.emo
|
|
|
439 |
st.session_state.emo = emo
|
440 |
|
441 |
if col1.button(button_label1):
|
|
|
442 |
with st.spinner("Generating tips (it may take upto 2-3 mins). Please wait..."):
|
443 |
# Retrieve prompt from the emotion
|
444 |
emo = st.session_state.emo
|
|
|
450 |
|
451 |
|
452 |
if col2.button(button_label2):
|
|
|
453 |
with st.spinner("Generating tips (it may take upto 2-3 mins). Please wait..."):
|
454 |
# Retrieve prompt from the emotion
|
455 |
emo = st.session_state.emo
|