bpHigh commited on
Commit
1770b5d
·
1 Parent(s): 6cb8eb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -29
app.py CHANGED
@@ -83,36 +83,36 @@ with gr.Blocks(theme='bethecloud/storj_theme') as demo:
83
  with gr.Box():
84
  gr.Markdown(
85
  """
86
- ### Get details related to an RSS feed -- Currently not enabled to Save OpenAI API costs, do hit me up on slack if needed for a purpose
87
  """)
88
- # with gr.Column():
89
- # rss_feed = gr.Textbox(label="Enter Rss Feed here")
90
- # btn_2 = gr.Button("See")
91
- # with gr.Row().style(equal_height=True):
92
- # Title_2 = gr.Textbox(label="Title")
93
- # Episode_Name_2 = gr.Textbox(label="Episode Name")
94
- # Episode_Image_2 = gr.Image(label="Episode Image")
95
-
96
- # podcast_summary_2 = gr.Textbox(label="Summary")
97
-
98
- # with gr.Row().style(equal_height=True):
99
- # podcast_guest_2 = gr.Textbox(label="podcast guest")
100
- # podcast_guest_org_2 = gr.Textbox(label="Podcast Guest Organization")
101
- # podcast_guest_title_2 = gr.Textbox(label="Guest Title")
102
- # podcast_guest_wikipedia_2 = gr.Textbox(label="Guest Wikipedia Info")
103
-
104
- # podcast_highlights_2 = gr.Textbox(label="Highlights")
105
- # podcast_key_moments_2 = gr.Textbox(label="Key Moments and Key Topics")
106
-
107
- # with gr.Accordion("Open for Full Dialog Transcript"):
108
- # podcast_gpt_transcript_2 = gr.Textbox()
109
-
110
- # btn_2.click(fn=get_rss_output, inputs=rss_feed,
111
- # outputs=[Title_2, Episode_Name_2, Episode_Image_2, podcast_summary_2, podcast_guest_2,
112
- # podcast_guest_org_2, \
113
- # podcast_guest_title_2, podcast_guest_wikipedia_2, podcast_highlights_2,
114
- # podcast_key_moments_2, \
115
- # podcast_gpt_transcript_2])
116
 
117
 
118
 
 
83
  with gr.Box():
84
  gr.Markdown(
85
  """
86
+ ### Get details related to an RSS feed
87
  """)
88
+ with gr.Column():
89
+ rss_feed = gr.Textbox(label="Enter Rss Feed here")
90
+ btn_2 = gr.Button("See")
91
+ with gr.Row().style(equal_height=True):
92
+ Title_2 = gr.Textbox(label="Title")
93
+ Episode_Name_2 = gr.Textbox(label="Episode Name")
94
+ Episode_Image_2 = gr.Image(label="Episode Image")
95
+
96
+ podcast_summary_2 = gr.Textbox(label="Summary")
97
+
98
+ with gr.Row().style(equal_height=True):
99
+ podcast_guest_2 = gr.Textbox(label="podcast guest")
100
+ podcast_guest_org_2 = gr.Textbox(label="Podcast Guest Organization")
101
+ podcast_guest_title_2 = gr.Textbox(label="Guest Title")
102
+ podcast_guest_wikipedia_2 = gr.Textbox(label="Guest Wikipedia Info")
103
+
104
+ podcast_highlights_2 = gr.Textbox(label="Highlights")
105
+ podcast_key_moments_2 = gr.Textbox(label="Key Moments and Key Topics")
106
+
107
+ with gr.Accordion("Open for Full Dialog Transcript"):
108
+ podcast_gpt_transcript_2 = gr.Textbox()
109
+
110
+ btn_2.click(fn=get_rss_output, inputs=rss_feed,
111
+ outputs=[Title_2, Episode_Name_2, Episode_Image_2, podcast_summary_2, podcast_guest_2,
112
+ podcast_guest_org_2, \
113
+ podcast_guest_title_2, podcast_guest_wikipedia_2, podcast_highlights_2,
114
+ podcast_key_moments_2, \
115
+ podcast_gpt_transcript_2])
116
 
117
 
118