Spaces:
Sleeping
Sleeping
Commit ·
4dcf2f2
1
Parent(s): 1cff1d0
Update app.py
Browse files
app.py
CHANGED
|
@@ -322,6 +322,58 @@ class KeyValueExtractor:
|
|
| 322 |
gr.HTML("""<center class="darkblue" style='background-color:rgb(0,1,36); text-align:center;padding:25px;'><center><h1 class ="center">
|
| 323 |
<img src="file=logo.png" height="110px" width="280px"></h1></center>
|
| 324 |
<br><h1 style="color:#fff">summarizer</h1></center>""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 325 |
with gr.Row(elem_id="col-container"):
|
| 326 |
with gr.Column(scale=1.0, min_width=150, ):
|
| 327 |
input_news = gr.Textbox(label="Company Name")
|
|
|
|
| 322 |
gr.HTML("""<center class="darkblue" style='background-color:rgb(0,1,36); text-align:center;padding:25px;'><center><h1 class ="center">
|
| 323 |
<img src="file=logo.png" height="110px" width="280px"></h1></center>
|
| 324 |
<br><h1 style="color:#fff">summarizer</h1></center>""")
|
| 325 |
+
with gr.Row(elem_id="col-container"):
|
| 326 |
+
with gr.Column(scale=1.0, min_width=150, ):
|
| 327 |
+
gr.Dropdown(label="List Of Companies",info="""Apple Inc. - AAPL
|
| 328 |
+
Microsoft Corporation - MSFT
|
| 329 |
+
Amazon.com Inc. - AMZN
|
| 330 |
+
Alphabet Inc. (Google) - GOOGL (Class A shares), GOOG (Class C shares)
|
| 331 |
+
Facebook Inc. - FB
|
| 332 |
+
Tesla Inc. - TSLA
|
| 333 |
+
Netflix Inc. - NFLX
|
| 334 |
+
NVIDIA Corporation - NVDA
|
| 335 |
+
Intel Corporation - INTC
|
| 336 |
+
The Coca-Cola Company - KO
|
| 337 |
+
Pfizer Inc. - PFE
|
| 338 |
+
Johnson & Johnson - JNJ
|
| 339 |
+
Procter & Gamble Co. - PG
|
| 340 |
+
Visa Inc. - V
|
| 341 |
+
Mastercard Incorporated - MA
|
| 342 |
+
Walmart Inc. - WMT
|
| 343 |
+
Adobe Inc. - ADBE
|
| 344 |
+
Salesforce.com Inc. - CRM
|
| 345 |
+
IBM (International Business Machines Corporation) - IBM
|
| 346 |
+
McDonald's Corporation - MCD
|
| 347 |
+
Boeing Co. - BA
|
| 348 |
+
The Walt Disney Company - DIS
|
| 349 |
+
JPMorgan Chase & Co. - JPM
|
| 350 |
+
Goldman Sachs Group Inc. - GS
|
| 351 |
+
Verizon Communications Inc. - VZ
|
| 352 |
+
AT&T Inc. - T
|
| 353 |
+
General Electric Co. - GE
|
| 354 |
+
Exxon Mobil Corporation - XOM
|
| 355 |
+
Chevron Corporation - CVX
|
| 356 |
+
Coca-Cola Enterprises Inc. - CCEP
|
| 357 |
+
Nike Inc. - NKE
|
| 358 |
+
PepsiCo Inc. - PEP
|
| 359 |
+
Oracle Corporation - ORCL
|
| 360 |
+
Cisco Systems Inc. - CSCO
|
| 361 |
+
Intel Corporation - INTC
|
| 362 |
+
Netflix Inc. - NFLX
|
| 363 |
+
Walmart Inc. - WMT
|
| 364 |
+
PayPal Holdings Inc. - PYPL
|
| 365 |
+
Square Inc. - SQ
|
| 366 |
+
Adobe Inc. - ADBE
|
| 367 |
+
Zoom Video Communications Inc. - ZM
|
| 368 |
+
Moderna Inc. - MRNA
|
| 369 |
+
Twitter Inc. - TWTR
|
| 370 |
+
Airbnb Inc. - ABNB
|
| 371 |
+
Uber Technologies Inc. - UBER
|
| 372 |
+
Lyft Inc. - LYFT
|
| 373 |
+
Snap Inc. - SNAP
|
| 374 |
+
Spotify Technology S.A. - SPOT
|
| 375 |
+
Pinterest Inc. - PINS
|
| 376 |
+
Beyond Meat Inc. - BYND""")
|
| 377 |
with gr.Row(elem_id="col-container"):
|
| 378 |
with gr.Column(scale=1.0, min_width=150, ):
|
| 379 |
input_news = gr.Textbox(label="Company Name")
|