robertselvam commited on
Commit
f26eb20
·
1 Parent(s): 45a083d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -141,9 +141,9 @@ class WebpageSummarizer:
141
  with gr.Column(elem_id="col-container"):
142
  gr.HTML("""<img class="leftimage" align="left" src="https://templates.images.credential.net/1612472097627370951721412474196.png" alt="Image" width="210" height="210">
143
  <img class="rightimage" align="right" src="https://logos-download.com/wp-content/uploads/2016/06/Syngenta_logo.png" alt="Image" width="150" height="140">""")
144
- gr.HTML("""<center><h1>Web Scraping for Syngenta</h1></center>""")
145
  inputs = gr.Textbox(label="URL")
146
- btn = gr.Button(label="Submit")
147
  outputs = gr.Textbox(label="Summary", lines=6)
148
 
149
  btn.click(fn=self.summarize_webpage, inputs=inputs, outputs=outputs)
 
141
  with gr.Column(elem_id="col-container"):
142
  gr.HTML("""<img class="leftimage" align="left" src="https://templates.images.credential.net/1612472097627370951721412474196.png" alt="Image" width="210" height="210">
143
  <img class="rightimage" align="right" src="https://logos-download.com/wp-content/uploads/2016/06/Syngenta_logo.png" alt="Image" width="150" height="140">""")
144
+ gr.HTML("""<center><h1>Syngenta Chemical Identifier</h1></center>""")
145
  inputs = gr.Textbox(label="URL")
146
+ btn = gr.Button(label="Submit",value = "Analyse")
147
  outputs = gr.Textbox(label="Summary", lines=6)
148
 
149
  btn.click(fn=self.summarize_webpage, inputs=inputs, outputs=outputs)