Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from geopy.geocoders import Nominatim
|
|
5 |
|
6 |
|
7 |
API_URL = "https://api-inference.huggingface.co/models/dmis-lab/biobert-base-cased-v1.1"
|
8 |
-
headers = {"Authorization": "secret
|
9 |
|
10 |
def query(payload):
|
11 |
response = requests.post(API_URL, headers=headers, json=payload)
|
|
|
5 |
|
6 |
|
7 |
API_URL = "https://api-inference.huggingface.co/models/dmis-lab/biobert-base-cased-v1.1"
|
8 |
+
headers = {"Authorization": "secret"}
|
9 |
|
10 |
def query(payload):
|
11 |
response = requests.post(API_URL, headers=headers, json=payload)
|