Spaces:
Sleeping
Sleeping
NanditaVora
commited on
Commit
•
f90f3a6
1
Parent(s):
e908b21
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import os
|
|
12 |
|
13 |
API_KEY = os.environ.get("API_KEY")
|
14 |
|
15 |
-
API_URL = "
|
16 |
headers = {"Authorization": "Bearer " + API_KEY}
|
17 |
|
18 |
def query(payload):
|
|
|
12 |
|
13 |
API_KEY = os.environ.get("API_KEY")
|
14 |
|
15 |
+
API_URL = "https://api-inference.huggingface.co/models/google-bert/bert-large-uncased-whole-word-masking-finetuned-squad"
|
16 |
headers = {"Authorization": "Bearer " + API_KEY}
|
17 |
|
18 |
def query(payload):
|