bpHigh commited on
Commit
7b90d8e
1 Parent(s): 4966db5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -35,12 +35,12 @@ with gr.Blocks(theme='bethecloud/storj_theme', css=".gradio-container {backgroun
35
  ### Search Podcasts and get their RSS feeds -- Currently Not Enabled as ListenNotes only offers limited free API calls/month
36
  """)
37
 
38
- with gr.Column():
39
- normal_chatbot = gr.Chatbot()
40
- normal_msg = gr.Textbox()
41
- normal_clear = gr.Button("Clear")
42
- normal_msg.submit(search_chat_respond, [normal_msg, normal_chatbot], [normal_msg, normal_chatbot])
43
- normal_clear.click(lambda: None, None, normal_chatbot, queue=False)
44
 
45
  with gr.TabItem("PreProcessed Podcasts"):
46
  with gr.Box():
@@ -85,9 +85,9 @@ with gr.Blocks(theme='bethecloud/storj_theme', css=".gradio-container {backgroun
85
  """
86
  ### Get details related to an RSS feed --Currently diabled due to OpenAI rate cost issues do ping me on slack if you wanna check something out
87
  """)
88
- with gr.Column():
89
  #rss_feed = gr.Textbox(label="Enter Rss Feed here")
90
- podcast_id_text = gr.Textbox(label="Enter Podcast ID here")
91
  # btn_2 = gr.Button("See")
92
  # with gr.Row().style(equal_height=True):
93
  # Title_2 = gr.Textbox(label="Title")
@@ -108,8 +108,8 @@ with gr.Blocks(theme='bethecloud/storj_theme', css=".gradio-container {backgroun
108
  # with gr.Accordion("Open for Full Dialog Transcript"):
109
  # podcast_gpt_transcript_2 = gr.Textbox()
110
 
111
- recommend_chatbot = gr.Chatbot(label="See recommendations here")
112
- btn_recommend = gr.Button("Get Recommendations")
113
 
114
  # btn_2.click(fn=get_rss_output, inputs=rss_feed,
115
  # outputs=[Title_2, Episode_Name_2, Episode_Image_2, podcast_summary_2, podcast_guest_2,
@@ -118,7 +118,7 @@ with gr.Blocks(theme='bethecloud/storj_theme', css=".gradio-container {backgroun
118
  # podcast_key_moments_2, \
119
  # podcast_gpt_transcript_2])
120
 
121
- btn_recommend.click(fn=get_recommendations, inputs=[podcast_id_text,recommend_chatbot], outputs= recommend_chatbot)
122
 
123
 
124
 
 
35
  ### Search Podcasts and get their RSS feeds -- Currently Not Enabled as ListenNotes only offers limited free API calls/month
36
  """)
37
 
38
+ # with gr.Column():
39
+ # normal_chatbot = gr.Chatbot()
40
+ # normal_msg = gr.Textbox()
41
+ # normal_clear = gr.Button("Clear")
42
+ # normal_msg.submit(search_chat_respond, [normal_msg, normal_chatbot], [normal_msg, normal_chatbot])
43
+ # normal_clear.click(lambda: None, None, normal_chatbot, queue=False)
44
 
45
  with gr.TabItem("PreProcessed Podcasts"):
46
  with gr.Box():
 
85
  """
86
  ### Get details related to an RSS feed --Currently diabled due to OpenAI rate cost issues do ping me on slack if you wanna check something out
87
  """)
88
+ # with gr.Column():
89
  #rss_feed = gr.Textbox(label="Enter Rss Feed here")
90
+ # podcast_id_text = gr.Textbox(label="Enter Podcast ID here")
91
  # btn_2 = gr.Button("See")
92
  # with gr.Row().style(equal_height=True):
93
  # Title_2 = gr.Textbox(label="Title")
 
108
  # with gr.Accordion("Open for Full Dialog Transcript"):
109
  # podcast_gpt_transcript_2 = gr.Textbox()
110
 
111
+ # recommend_chatbot = gr.Chatbot(label="See recommendations here")
112
+ # btn_recommend = gr.Button("Get Recommendations")
113
 
114
  # btn_2.click(fn=get_rss_output, inputs=rss_feed,
115
  # outputs=[Title_2, Episode_Name_2, Episode_Image_2, podcast_summary_2, podcast_guest_2,
 
118
  # podcast_key_moments_2, \
119
  # podcast_gpt_transcript_2])
120
 
121
+ # btn_recommend.click(fn=get_recommendations, inputs=[podcast_id_text,recommend_chatbot], outputs= recommend_chatbot)
122
 
123
 
124