Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,7 @@ if 'profile' not in st.session_state:
|
|
38 |
|
39 |
|
40 |
token = os.environ['HUGGINGFACEHUB_API_TOKEN']
|
|
|
41 |
print(token)
|
42 |
|
43 |
|
@@ -45,7 +46,7 @@ def scrape_linkedin_profile(linkedin_profile_url:str):
|
|
45 |
|
46 |
"""scrape information from LinkedIn profiles,
|
47 |
Manually scrape the information from the LinkedIn profile"""
|
48 |
-
headers = {'Authorization': 'Bearer ' +
|
49 |
api_endpoint = 'https://nubela.co/proxycurl/api/v2/linkedin'
|
50 |
|
51 |
|
|
|
38 |
|
39 |
|
40 |
token = os.environ['HUGGINGFACEHUB_API_TOKEN']
|
41 |
+
token2 = os.environ['PROXYCURL_API_KEY']
|
42 |
print(token)
|
43 |
|
44 |
|
|
|
46 |
|
47 |
"""scrape information from LinkedIn profiles,
|
48 |
Manually scrape the information from the LinkedIn profile"""
|
49 |
+
headers = {'Authorization': 'Bearer ' + token2}
|
50 |
api_endpoint = 'https://nubela.co/proxycurl/api/v2/linkedin'
|
51 |
|
52 |
|