Spaces:
Sleeping
Sleeping
Update jinaai.py
Browse files
jinaai.py
CHANGED
@@ -2,11 +2,8 @@ import os
|
|
2 |
import requests
|
3 |
from requests.exceptions import RequestException
|
4 |
import datetime
|
5 |
-
from dotenv import load_dotenv
|
6 |
from smolagents import tool
|
7 |
|
8 |
-
load_dotenv()
|
9 |
-
|
10 |
headers = {'Authorization': 'Bearer ' + os.getenv('JINA_API_KEY')}
|
11 |
|
12 |
@tool
|
|
|
2 |
import requests
|
3 |
from requests.exceptions import RequestException
|
4 |
import datetime
|
|
|
5 |
from smolagents import tool
|
6 |
|
|
|
|
|
7 |
headers = {'Authorization': 'Bearer ' + os.getenv('JINA_API_KEY')}
|
8 |
|
9 |
@tool
|