Update app.py
Browse files
app.py
CHANGED
|
@@ -1721,6 +1721,14 @@ def create_gradio_interface():
|
|
| 1721 |
)
|
| 1722 |
|
| 1723 |
podcast_library_container = gr.Column()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1724 |
|
| 1725 |
# Event handler for generate button
|
| 1726 |
generate_podcast_btn.click(
|
|
@@ -1748,15 +1756,6 @@ def create_gradio_interface():
|
|
| 1748 |
gr.Markdown("---")
|
| 1749 |
gr.Markdown("### π Podcast Library")
|
| 1750 |
gr.Markdown("Browse and play all your generated podcasts")
|
| 1751 |
-
|
| 1752 |
-
with gr.Row():
|
| 1753 |
-
refresh_podcast_library_btn = gr.Button("π Refresh Library", variant="secondary")
|
| 1754 |
-
podcast_library_status = gr.Textbox(
|
| 1755 |
-
label="Library Status",
|
| 1756 |
-
value="Click 'Refresh Library' to load podcasts",
|
| 1757 |
-
interactive=False,
|
| 1758 |
-
scale=3
|
| 1759 |
-
)
|
| 1760 |
|
| 1761 |
# Event handler for refresh button
|
| 1762 |
refresh_podcast_library_btn.click(
|
|
|
|
| 1721 |
)
|
| 1722 |
|
| 1723 |
podcast_library_container = gr.Column()
|
| 1724 |
+
with gr.Row():
|
| 1725 |
+
refresh_podcast_library_btn = gr.Button("π Refresh Library", variant="secondary")
|
| 1726 |
+
podcast_library_status = gr.Textbox(
|
| 1727 |
+
label="Library Status",
|
| 1728 |
+
value="Click 'Refresh Library' to load podcasts",
|
| 1729 |
+
interactive=False,
|
| 1730 |
+
scale=3
|
| 1731 |
+
)
|
| 1732 |
|
| 1733 |
# Event handler for generate button
|
| 1734 |
generate_podcast_btn.click(
|
|
|
|
| 1756 |
gr.Markdown("---")
|
| 1757 |
gr.Markdown("### π Podcast Library")
|
| 1758 |
gr.Markdown("Browse and play all your generated podcasts")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1759 |
|
| 1760 |
# Event handler for refresh button
|
| 1761 |
refresh_podcast_library_btn.click(
|