bpHigh commited on
Commit
474d389
1 Parent(s): 50d0a1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +35 -7
app.py CHANGED
@@ -75,13 +75,41 @@ with gr.Blocks(theme='bethecloud/storj_theme') as demo:
75
  podcast_gpt_transcript])
76
 
77
 
78
- # with gr.TabItem("Process New Podcast using RSS feed"):
79
- # with gr.Box():
80
- # gr.Markdown(
81
- # """
82
- # ### Chat with GPT 3.5 with transcripts
83
- # """)
84
- # with gr.Column():
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
 
86
 
87
 
 
75
  podcast_gpt_transcript])
76
 
77
 
78
+ with gr.TabItem("Process New Podcast using RSS feed"):
79
+ with gr.Box():
80
+ gr.Markdown(
81
+ """
82
+ ### Get details related to an RSS feed
83
+ """)
84
+ with gr.Column():
85
+ rss_feed = gr.Textbox(label="Enter Rss Feed here")
86
+ btn_2 = gr.Button("See")
87
+ with gr.Row().style(equal_height=True):
88
+ Title_2 = gr.Textbox(label="Title")
89
+ Episode_Name_2 = gr.Textbox(label="Episode Name")
90
+ Episode_Image_2 = gr.Image(label="Episode Image")
91
+
92
+ podcast_summary_2 = gr.Textbox(label="Summary")
93
+
94
+ with gr.Row().style(equal_height=True):
95
+ podcast_guest_2 = gr.Textbox(label="podcast guest")
96
+ podcast_guest_org_2 = gr.Textbox(label="Podcast Guest Organization")
97
+ podcast_guest_title_2 = gr.Textbox(label="Guest Title")
98
+ podcast_guest_wikipedia_2 = gr.Textbox(label="Guest Wikipedia Info")
99
+
100
+ podcast_highlights_2 = gr.Textbox(label="Highlights")
101
+ podcast_key_moments_2 = gr.Textbox(label="Key Moments and Key Topics")
102
+
103
+ with gr.Accordion("Open for Full Dialog Transcript"):
104
+ podcast_gpt_transcript_2 = gr.Textbox()
105
+
106
+ btn_2.click(fn=get_rss_output, inputs=rss_feed,
107
+ outputs=[Title_2, Episode_Name_2, Episode_Image_2, podcast_summary_2, podcast_guest_2,
108
+ podcast_guest_org_2, \
109
+ podcast_guest_title_2, podcast_guest_wikipedia_2, podcast_highlights_2,
110
+ podcast_key_moments_2, \
111
+ podcast_gpt_transcript_2])
112
+
113
 
114
 
115