sharmavaruncs commited on
Commit
2469e6e
·
1 Parent(s): 95797a1

reduced box hegith

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -104,8 +104,8 @@ def config():
104
  flex-direction: column;
105
  align-items: center;
106
  justify-content: flex-start; /* Align content to the top */
107
- height: 20vh;
108
- padding: 20px;
109
  border-radius: 10px;
110
  }
111
  </style>
@@ -441,7 +441,7 @@ def process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer):
441
 
442
  if col1.button(button_label1):
443
  #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)):
444
- with st.spinner("Generating transcriptions in the side pane.Please wait..."):
445
  # Retrieve prompt from the emotion
446
  emo = st.session_state.emo
447
  # Call the function for GENAI
@@ -452,7 +452,8 @@ def process_file(ser_model,tokenizer,gpt_model,gpt_tokenizer):
452
 
453
 
454
  if col2.button(button_label2):
455
- 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)):
 
456
  # Retrieve prompt from the emotion
457
  emo = st.session_state.emo
458
  temp=0.2
 
104
  flex-direction: column;
105
  align-items: center;
106
  justify-content: flex-start; /* Align content to the top */
107
+ height: 10vh;
108
+ padding: 40px;
109
  border-radius: 10px;
110
  }
111
  </style>
 
441
 
442
  if col1.button(button_label1):
443
  #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)):
444
+ with st.spinner("Generating transcriptions in the side pane. Please wait..."):
445
  # Retrieve prompt from the emotion
446
  emo = st.session_state.emo
447
  # Call the function for GENAI
 
452
 
453
 
454
  if col2.button(button_label2):
455
+ #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)):
456
+ with st.spinner("Generating tips (it may take upto 2-3 mins). Please wait..."):
457
  # Retrieve prompt from the emotion
458
  emo = st.session_state.emo
459
  temp=0.2