Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from geopy.geocoders import Nominatim
|
|
| 5 |
|
| 6 |
# Set your Hugging Face API URL and API key
|
| 7 |
API_URL = "https://api-inference.huggingface.co/models/dmis-lab/biobert-base-cased-v1.1"
|
| 8 |
-
headers = {"Authorization": "
|
| 9 |
|
| 10 |
# Function to query the Hugging Face model
|
| 11 |
def query(payload):
|
|
|
|
| 5 |
|
| 6 |
# Set your Hugging Face API URL and API key
|
| 7 |
API_URL = "https://api-inference.huggingface.co/models/dmis-lab/biobert-base-cased-v1.1"
|
| 8 |
+
headers = {"Authorization": ""}
|
| 9 |
|
| 10 |
# Function to query the Hugging Face model
|
| 11 |
def query(payload):
|