Spaces:
Sleeping
Sleeping
Commit
·
743da29
1
Parent(s):
4dcf2f2
Update app.py
Browse files
app.py
CHANGED
@@ -322,58 +322,59 @@ 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.
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
|
|
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")
|
|
|
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.Accordion("Upload Files", open = False):
|
326 |
+
with gr.Row(elem_id="col-container"):
|
327 |
+
with gr.Column(scale=1.0, min_width=150 ):
|
328 |
+
list_of_companies = gr.HTML(label="List_of_Companies",value="""Apple Inc. - AAPL
|
329 |
+
Microsoft Corporation - MSFT
|
330 |
+
Amazon.com Inc. - AMZN
|
331 |
+
Alphabet Inc. (Google) - GOOGL (Class A shares), GOOG (Class C shares)
|
332 |
+
Facebook Inc. - FB
|
333 |
+
Tesla Inc. - TSLA
|
334 |
+
Netflix Inc. - NFLX
|
335 |
+
NVIDIA Corporation - NVDA
|
336 |
+
Intel Corporation - INTC
|
337 |
+
The Coca-Cola Company - KO
|
338 |
+
Pfizer Inc. - PFE
|
339 |
+
Johnson & Johnson - JNJ
|
340 |
+
Procter & Gamble Co. - PG
|
341 |
+
Visa Inc. - V
|
342 |
+
Mastercard Incorporated - MA
|
343 |
+
Walmart Inc. - WMT
|
344 |
+
Adobe Inc. - ADBE
|
345 |
+
Salesforce.com Inc. - CRM
|
346 |
+
IBM (International Business Machines Corporation) - IBM
|
347 |
+
McDonald's Corporation - MCD
|
348 |
+
Boeing Co. - BA
|
349 |
+
The Walt Disney Company - DIS
|
350 |
+
JPMorgan Chase & Co. - JPM
|
351 |
+
Goldman Sachs Group Inc. - GS
|
352 |
+
Verizon Communications Inc. - VZ
|
353 |
+
AT&T Inc. - T
|
354 |
+
General Electric Co. - GE
|
355 |
+
Exxon Mobil Corporation - XOM
|
356 |
+
Chevron Corporation - CVX
|
357 |
+
Coca-Cola Enterprises Inc. - CCEP
|
358 |
+
Nike Inc. - NKE
|
359 |
+
PepsiCo Inc. - PEP
|
360 |
+
Oracle Corporation - ORCL
|
361 |
+
Cisco Systems Inc. - CSCO
|
362 |
+
Intel Corporation - INTC
|
363 |
+
Netflix Inc. - NFLX
|
364 |
+
Walmart Inc. - WMT
|
365 |
+
PayPal Holdings Inc. - PYPL
|
366 |
+
Square Inc. - SQ
|
367 |
+
Adobe Inc. - ADBE
|
368 |
+
Zoom Video Communications Inc. - ZM
|
369 |
+
Moderna Inc. - MRNA
|
370 |
+
Twitter Inc. - TWTR
|
371 |
+
Airbnb Inc. - ABNB
|
372 |
+
Uber Technologies Inc. - UBER
|
373 |
+
Lyft Inc. - LYFT
|
374 |
+
Snap Inc. - SNAP
|
375 |
+
Spotify Technology S.A. - SPOT
|
376 |
+
Pinterest Inc. - PINS
|
377 |
+
Beyond Meat Inc. - BYND""")
|
378 |
with gr.Row(elem_id="col-container"):
|
379 |
with gr.Column(scale=1.0, min_width=150, ):
|
380 |
input_news = gr.Textbox(label="Company Name")
|