Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -96,7 +96,7 @@ h1 { text-align: center; font-size: 24px; margin-bottom: 10px; }
|
|
96 |
with gr.Blocks(theme=gr.themes.Glass(primary_hue="violet", secondary_hue="emerald", neutral_hue="stone")) as demo:
|
97 |
with gr.Tabs():
|
98 |
with gr.TabItem("💬Chat"):
|
99 |
-
gr.HTML(
|
100 |
chatbot = gr.Chatbot(label="LeProf Chatbot")
|
101 |
with gr.Row():
|
102 |
user_input = gr.Textbox(
|
@@ -118,7 +118,7 @@ with gr.Blocks(theme=gr.themes.Glass(primary_hue="violet", secondary_hue="emeral
|
|
118 |
outputs=user_input
|
119 |
)
|
120 |
|
121 |
-
with gr.TabItem("🎙️Podcast"):
|
122 |
gr.HTML(TITLE)
|
123 |
podcast_button = gr.Button("🎧 Generate Podcast")
|
124 |
podcast_script_output = gr.Textbox(label="Podcast Transcript", placeholder="Podcast script will appear here.", lines=5)
|
@@ -131,7 +131,7 @@ with gr.Blocks(theme=gr.themes.Glass(primary_hue="violet", secondary_hue="emeral
|
|
131 |
outputs=[podcast_script_output, podcast_audio_output]
|
132 |
)
|
133 |
|
134 |
-
with gr.TabItem("🎙️🙏Podcast"):
|
135 |
gr.HTML(TITLE)
|
136 |
podcast_topic_input = gr.Textbox(label="Custom Podcast Topic", placeholder="Enter your custom topic here.")
|
137 |
chatbot_input = chatbot # Assuming `chatbot` is defined elsewhere in your application
|
|
|
96 |
with gr.Blocks(theme=gr.themes.Glass(primary_hue="violet", secondary_hue="emerald", neutral_hue="stone")) as demo:
|
97 |
with gr.Tabs():
|
98 |
with gr.TabItem("💬Chat"):
|
99 |
+
gr.HTML(TITLE)
|
100 |
chatbot = gr.Chatbot(label="LeProf Chatbot")
|
101 |
with gr.Row():
|
102 |
user_input = gr.Textbox(
|
|
|
118 |
outputs=user_input
|
119 |
)
|
120 |
|
121 |
+
with gr.TabItem("🎙️Podcast on Chat"):
|
122 |
gr.HTML(TITLE)
|
123 |
podcast_button = gr.Button("🎧 Generate Podcast")
|
124 |
podcast_script_output = gr.Textbox(label="Podcast Transcript", placeholder="Podcast script will appear here.", lines=5)
|
|
|
131 |
outputs=[podcast_script_output, podcast_audio_output]
|
132 |
)
|
133 |
|
134 |
+
with gr.TabItem("🎙️🙏Custom Podcast"):
|
135 |
gr.HTML(TITLE)
|
136 |
podcast_topic_input = gr.Textbox(label="Custom Podcast Topic", placeholder="Enter your custom topic here.")
|
137 |
chatbot_input = chatbot # Assuming `chatbot` is defined elsewhere in your application
|