Spaces:
Paused
Paused
Commit
·
5f0f7eb
1
Parent(s):
be3c2ec
without token
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def params(config):
|
|
88 |
def build_inference_api():
|
89 |
"""HF inference api"""
|
90 |
API_URL = "https://api-inference.huggingface.co/models/debatelab/argument-analyst"
|
91 |
-
headers = {"Authorization": f"Bearer {st.secrets['api_token']}"}
|
92 |
|
93 |
def query(inputs: str, parameters):
|
94 |
payload = {
|
|
|
88 |
def build_inference_api():
|
89 |
"""HF inference api"""
|
90 |
API_URL = "https://api-inference.huggingface.co/models/debatelab/argument-analyst"
|
91 |
+
headers = {} # {"Authorization": f"Bearer {st.secrets['api_token']}"}
|
92 |
|
93 |
def query(inputs: str, parameters):
|
94 |
payload = {
|