Spaces:
Sleeping
Sleeping
Commit
·
5825f39
1
Parent(s):
ae20fe2
在应用程序中更新RSS URL输入框的标签,添加示例RSS URL以提高用户体验。
Browse files
src/podcast_transcribe/webui/app.py
CHANGED
|
@@ -478,12 +478,19 @@ with gr.Blocks(title="Podcast Transcriber v2", css="""
|
|
| 478 |
|
| 479 |
with gr.Row():
|
| 480 |
rss_url_input = gr.Textbox(
|
| 481 |
-
label="Podcast RSS URL",
|
| 482 |
placeholder="e.g., https://your-podcast-feed.com/rss.xml",
|
| 483 |
elem_id="rss-url-input"
|
| 484 |
)
|
| 485 |
parse_button = gr.Button("🔗 Parse RSS", elem_id="parse-rss-button")
|
| 486 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 487 |
status_message_area = gr.Markdown(
|
| 488 |
"",
|
| 489 |
elem_id="status-message",
|
|
|
|
| 478 |
|
| 479 |
with gr.Row():
|
| 480 |
rss_url_input = gr.Textbox(
|
| 481 |
+
label="Podcast RSS URL (Find RSS URL on https://castos.com/tools/find-podcast-rss-feed/)",
|
| 482 |
placeholder="e.g., https://your-podcast-feed.com/rss.xml",
|
| 483 |
elem_id="rss-url-input"
|
| 484 |
)
|
| 485 |
parse_button = gr.Button("🔗 Parse RSS", elem_id="parse-rss-button")
|
| 486 |
|
| 487 |
+
# 添加示例 RSS URL
|
| 488 |
+
gr.Examples(
|
| 489 |
+
examples=[["https://feeds.buzzsprout.com/2460059.rss"]],
|
| 490 |
+
inputs=[rss_url_input],
|
| 491 |
+
label="Example RSS URLs"
|
| 492 |
+
)
|
| 493 |
+
|
| 494 |
status_message_area = gr.Markdown(
|
| 495 |
"",
|
| 496 |
elem_id="status-message",
|