Karthikeyan commited on
Commit
9e789b1
·
1 Parent(s): 86ac1bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -608,11 +608,11 @@ class KeyValueExtractor:
608
  def gradio_interface(self):
609
 
610
  with gr.Blocks(css="style.css",theme= 'karthikeyan-adople/hudsonhayes-gray') as app:
611
- with gr.Tabs():
612
- with gr.TabItem("Google News"):
613
- gr.HTML("""<center class="darkblue" style='background-color:rgb(0,1,36); text-align:center;padding:25px;'><center><h1 class ="center">
614
  <img src="file=logo.png" height="110px" width="280px"></h1></center>
615
  <br><h1 style="color:#fff">Company performance summarisation and sentiment analysis</h1></center>""")
 
 
616
  with gr.Row(elem_id="col-container"):
617
  with gr.Column(scale=0.80, min_width=150, ):
618
  input_news = gr.Textbox(label="NEWS")
@@ -632,9 +632,6 @@ class KeyValueExtractor:
632
  clear_btn.click(self.clear,[input_news,result_summary_for_news,key_value_pair_result_for_news,sentiment_plot],[input_news,result_summary_for_news,key_value_pair_result_for_news,sentiment_plot] )
633
 
634
  with gr.TabItem("Finance Tool"):
635
- gr.HTML("""<center class="darkblue" style='background-color:rgb(0,1,36); text-align:center;padding:25px;'><center><h1 class ="center">
636
- <img src="file=logo.png" height="110px" width="280px"></h1></center>
637
- <br><h1 style="color:#fff"> Company performance summarisation and sentiment analysis </h1></center>""")
638
  with gr.Row(elem_id="col-container"):
639
  with gr.Column(scale=1.0, min_width=150, ):
640
  input_news = gr.Textbox(label="Company Name")
 
608
  def gradio_interface(self):
609
 
610
  with gr.Blocks(css="style.css",theme= 'karthikeyan-adople/hudsonhayes-gray') as app:
611
+ gr.HTML("""<center class="darkblue" style='background-color:rgb(0,1,36); text-align:center;padding:25px;'><center><h1 class ="center">
 
 
612
  <img src="file=logo.png" height="110px" width="280px"></h1></center>
613
  <br><h1 style="color:#fff">Company performance summarisation and sentiment analysis</h1></center>""")
614
+ with gr.Tabs():
615
+ with gr.TabItem("Google News"):
616
  with gr.Row(elem_id="col-container"):
617
  with gr.Column(scale=0.80, min_width=150, ):
618
  input_news = gr.Textbox(label="NEWS")
 
632
  clear_btn.click(self.clear,[input_news,result_summary_for_news,key_value_pair_result_for_news,sentiment_plot],[input_news,result_summary_for_news,key_value_pair_result_for_news,sentiment_plot] )
633
 
634
  with gr.TabItem("Finance Tool"):
 
 
 
635
  with gr.Row(elem_id="col-container"):
636
  with gr.Column(scale=1.0, min_width=150, ):
637
  input_news = gr.Textbox(label="Company Name")