restore standard
Browse files
app.py
CHANGED
@@ -4,10 +4,9 @@ import os
|
|
4 |
import json
|
5 |
|
6 |
SECRET_TOKEN = os.getenv("SECRET_TOKEN")
|
7 |
-
REMOVE_THIS = "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"
|
8 |
|
9 |
API_URL = "https://api-inference.huggingface.co/models/microsoft/Orca-2-13b"
|
10 |
-
headers = {"Authorization": "Bearer "+
|
11 |
|
12 |
def query(input:str):
|
13 |
payload = {
|
|
|
4 |
import json
|
5 |
|
6 |
SECRET_TOKEN = os.getenv("SECRET_TOKEN")
|
|
|
7 |
|
8 |
API_URL = "https://api-inference.huggingface.co/models/microsoft/Orca-2-13b"
|
9 |
+
headers = {"Authorization": "Bearer "+SECRET_TOKEN}
|
10 |
|
11 |
def query(input:str):
|
12 |
payload = {
|