Update app.py
Browse files
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=
|
11 |
|
12 |
cik = "0000091142"
|
13 |
-
headers = {'User-Agent': '
|
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"
|