robertselvam commited on
Commit
a3de190
·
1 Parent(s): e515aa4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -345,24 +345,24 @@ class KeyValueExtractor:
345
  analyse = gr.Button("Analyse")
346
  with gr.Row(elem_id="col-container"):
347
  with gr.Column(scale=0.50, min_width=150):
348
- result_summary = gr.Textbox(label="Summary", lines = 20)
349
  with gr.Column(scale=0.50, min_width=150):
350
- key_value_pair_result = gr.Textbox(label="Key Value Pair", lines = 20)
351
  with gr.Row(elem_id="col-container"):
352
  with gr.Column(scale=1.0, min_width=0):
353
- plot_for_day =gr.Plot(label="Sentiment", size=(500, 600))
354
  with gr.Row(elem_id="col-container"):
355
  with gr.Column(scale=1.0, min_width=150):
356
  analyse_sentiment = gr.Button("Analyse Sentiment")
357
  with gr.Row(elem_id="col-container"):
358
  with gr.Column(scale=1.0, min_width=150, ):
359
- one_year_summary = gr.Textbox(label="Summary Of One Year Perfomance",lines = 20)
360
  with gr.Row(elem_id="col-container"):
361
  with gr.Column(scale=1.0, min_width=150):
362
  one_year = gr.Button("Analyse One Year Summary")
363
  with gr.Row(elem_id="col-container"):
364
  with gr.Column(scale=1.0, min_width=0):
365
- plot_for_year =gr.Plot(label="Sentiment", size=(500, 600))
366
  with gr.Row(elem_id="col-container"):
367
  with gr.Column(scale=1.0, min_width=150):
368
  analyse_sentiment_for_year = gr.Button("Analyse Sentiment")
 
345
  analyse = gr.Button("Analyse")
346
  with gr.Row(elem_id="col-container"):
347
  with gr.Column(scale=0.50, min_width=150):
348
+ result_summary = gr.Textbox(label="Summary For Last Day Perfomance", lines = 12)
349
  with gr.Column(scale=0.50, min_width=150):
350
+ key_value_pair_result = gr.Textbox(label="Discussed Topics", lines = 12)
351
  with gr.Row(elem_id="col-container"):
352
  with gr.Column(scale=1.0, min_width=0):
353
+ plot_for_day =gr.Plot(label="Sentiment for Last Day", size=(500, 600))
354
  with gr.Row(elem_id="col-container"):
355
  with gr.Column(scale=1.0, min_width=150):
356
  analyse_sentiment = gr.Button("Analyse Sentiment")
357
  with gr.Row(elem_id="col-container"):
358
  with gr.Column(scale=1.0, min_width=150, ):
359
+ one_year_summary = gr.Textbox(label="Summary For One Year Perfomance",lines = 12)
360
  with gr.Row(elem_id="col-container"):
361
  with gr.Column(scale=1.0, min_width=150):
362
  one_year = gr.Button("Analyse One Year Summary")
363
  with gr.Row(elem_id="col-container"):
364
  with gr.Column(scale=1.0, min_width=0):
365
+ plot_for_year =gr.Plot(label="Sentiment for Last Day", size=(500, 600))
366
  with gr.Row(elem_id="col-container"):
367
  with gr.Column(scale=1.0, min_width=150):
368
  analyse_sentiment_for_year = gr.Button("Analyse Sentiment")