chenw-ai21 commited on
Commit
87e80c5
·
verified ·
1 Parent(s): 37bc02c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,10 +7,10 @@ from ai21.models.chat import ChatMessage, DocumentSchema
7
  import json, requests, re
8
  from bs4 import BeautifulSoup
9
 
10
- client = AI21Client(api_key='q7FifIThFNjI3KMFTbDMzVauIObhR084')
11
 
12
  cik = "0000091142"
13
- headers = {'User-Agent': 'Company Name CompanyEmail@domain.com'}
14
 
15
  # latest 10Q
16
  filing_lookup_url = f"https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK={cik}&type=10-Q&dateb=&owner=exclude&count=1"
 
7
  import json, requests, re
8
  from bs4 import BeautifulSoup
9
 
10
+ client = AI21Client(api_key=AI21_api_key)
11
 
12
  cik = "0000091142"
13
+ headers = {'User-Agent': 'AI21 Labs chenw@ai21.com'}
14
 
15
  # latest 10Q
16
  filing_lookup_url = f"https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK={cik}&type=10-Q&dateb=&owner=exclude&count=1"