siddhartharyaai commited on
Commit
b93e016
·
verified ·
1 Parent(s): e843b2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -241,8 +241,7 @@ def main():
241
  .stFileUploader>div>div>div {
242
  transform: scale(0.9);
243
  }
244
- /* Remove custom styling for "Generate Podcast" button to revert to original appearance */
245
- /* Make radio buttons horizontal */
246
  div[role="radiogroup"] > label {
247
  display: inline-block;
248
  margin-right: 1em;
@@ -298,13 +297,14 @@ def main():
298
  🔥 **Ready to create your personalized podcast?** Give it a try now and let the magic happen! 🔥
299
  """)
300
 
 
301
  col1, col2 = st.columns(2)
302
  with col1:
303
  file = st.file_uploader("Upload File (.pdf only)", type=["pdf"])
304
- research_topic_input = st.text_input("Or Research a Topic")
305
- with col2:
306
  url = st.text_input("Or Enter Website URL")
307
  video_url = st.text_input("Or Enter YouTube Link (Captioned videos)")
 
 
308
  tone = st.radio("Tone", ["Casual", "Formal", "Humorous", "Youthful"], index=0)
309
  length_minutes = st.slider("Podcast Length (in minutes)", 1, 60, 3)
310
 
@@ -318,7 +318,7 @@ def main():
318
 
319
  user_specs = st.text_area("Any special instructions or prompts for the script? (Optional)", "")
320
  sponsor_content = st.text_area("Sponsored Content / Ad (Optional)", "")
321
- st.markdown("#### Sponsor Integration Style")
322
  sponsor_style = st.selectbox(
323
  "Sponsor Integration Style",
324
  ["Separate Break", "Blended"]
@@ -517,8 +517,8 @@ def main():
517
  else:
518
  st.write("You have used all 5 Q&A opportunities.")
519
 
520
- # Footer
521
- st.markdown("<footer>© MyPod 2025</footer>", unsafe_allow_html=True)
522
 
523
  if __name__ == "__main__":
524
  main()
 
241
  .stFileUploader>div>div>div {
242
  transform: scale(0.9);
243
  }
244
+ /* Make radio buttons horizontal if needed */
 
245
  div[role="radiogroup"] > label {
246
  display: inline-block;
247
  margin-right: 1em;
 
297
  🔥 **Ready to create your personalized podcast?** Give it a try now and let the magic happen! 🔥
298
  """)
299
 
300
+ # Original placement of input options
301
  col1, col2 = st.columns(2)
302
  with col1:
303
  file = st.file_uploader("Upload File (.pdf only)", type=["pdf"])
 
 
304
  url = st.text_input("Or Enter Website URL")
305
  video_url = st.text_input("Or Enter YouTube Link (Captioned videos)")
306
+ with col2:
307
+ research_topic_input = st.text_input("Or Research a Topic")
308
  tone = st.radio("Tone", ["Casual", "Formal", "Humorous", "Youthful"], index=0)
309
  length_minutes = st.slider("Podcast Length (in minutes)", 1, 60, 3)
310
 
 
318
 
319
  user_specs = st.text_area("Any special instructions or prompts for the script? (Optional)", "")
320
  sponsor_content = st.text_area("Sponsored Content / Ad (Optional)", "")
321
+ # Removed bold heading for Sponsor Integration Style
322
  sponsor_style = st.selectbox(
323
  "Sponsor Integration Style",
324
  ["Separate Break", "Blended"]
 
517
  else:
518
  st.write("You have used all 5 Q&A opportunities.")
519
 
520
+ # Footer with updated text
521
+ st.markdown("<footer>©2025 MyPod. All rights reserved.</footer>", unsafe_allow_html=True)
522
 
523
  if __name__ == "__main__":
524
  main()