Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ def get_completion(inputs, parameters=None,ENDPOINT_URL='https://api-inference.h
|
|
| 6 |
|
| 7 |
|
| 8 |
headers = {
|
| 9 |
-
"Authorization": f"Bearer {hf_api_key}",
|
| 10 |
"Content-Type": "application/json"
|
| 11 |
}
|
| 12 |
data = { "inputs": inputs }
|
|
|
|
| 6 |
|
| 7 |
|
| 8 |
headers = {
|
| 9 |
+
#"Authorization": f"Bearer {hf_api_key}",
|
| 10 |
"Content-Type": "application/json"
|
| 11 |
}
|
| 12 |
data = { "inputs": inputs }
|