Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -229,7 +229,7 @@ def main():
|
|
229 |
"**Research a Topic:** Please be as detailed as possible in your topic statement. If it's too niche or specific, "
|
230 |
"you might not get the desired outcome. We'll fetch information from Wikipedia, News RSS feeds or the LLM knowledge base to get recent info about the topic.\n\n"
|
231 |
"**Token Limit:** Up to ~2,048 tokens are supported. Long inputs may be truncated.\n"
|
232 |
-
"**Note:** YouTube
|
233 |
"β³**Please be patient while your podcast is being generated.** This process involves content analysis, script creation, "
|
234 |
"and high-quality audio synthesis, which may take a few minutes.\n\n"
|
235 |
"π₯ **Ready to create your personalized podcast?** Give it a try now and let the magic happen! π₯"
|
@@ -239,7 +239,7 @@ def main():
|
|
239 |
with col1:
|
240 |
file = st.file_uploader("Upload File (.pdf only)", type=["pdf"])
|
241 |
url = st.text_input("Or Enter Website URL")
|
242 |
-
video_url = st.text_input("Or Enter YouTube Link")
|
243 |
with col2:
|
244 |
research_topic_input = st.text_input("Or Research a Topic")
|
245 |
tone = st.radio("Tone", ["Humorous", "Formal", "Casual", "Youthful"], index=2)
|
@@ -265,7 +265,7 @@ def main():
|
|
265 |
"π Analyzing your input...",
|
266 |
"π Crafting the perfect script...",
|
267 |
"ποΈ Generating high-quality audio...",
|
268 |
-
"πΆ
|
269 |
]
|
270 |
|
271 |
# Initialize progress at 0%
|
|
|
229 |
"**Research a Topic:** Please be as detailed as possible in your topic statement. If it's too niche or specific, "
|
230 |
"you might not get the desired outcome. We'll fetch information from Wikipedia, News RSS feeds or the LLM knowledge base to get recent info about the topic.\n\n"
|
231 |
"**Token Limit:** Up to ~2,048 tokens are supported. Long inputs may be truncated.\n"
|
232 |
+
"**Note:** YouTube videos will only work if they have captions built in.\n\n"
|
233 |
"β³**Please be patient while your podcast is being generated.** This process involves content analysis, script creation, "
|
234 |
"and high-quality audio synthesis, which may take a few minutes.\n\n"
|
235 |
"π₯ **Ready to create your personalized podcast?** Give it a try now and let the magic happen! π₯"
|
|
|
239 |
with col1:
|
240 |
file = st.file_uploader("Upload File (.pdf only)", type=["pdf"])
|
241 |
url = st.text_input("Or Enter Website URL")
|
242 |
+
video_url = st.text_input("Or Enter YouTube Link (Captioned videos)")
|
243 |
with col2:
|
244 |
research_topic_input = st.text_input("Or Research a Topic")
|
245 |
tone = st.radio("Tone", ["Humorous", "Formal", "Casual", "Youthful"], index=2)
|
|
|
265 |
"π Analyzing your input...",
|
266 |
"π Crafting the perfect script...",
|
267 |
"ποΈ Generating high-quality audio...",
|
268 |
+
"πΆ Adding the finishing touches..."
|
269 |
]
|
270 |
|
271 |
# Initialize progress at 0%
|