Johan09033 commited on
Commit
243d516
·
1 Parent(s): e8ddf7b

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -12
app.py DELETED
@@ -1,12 +0,0 @@
1
- import requests
2
-
3
- API_URL = "https://api-inference.huggingface.co/models/OpenAssistant/oasst-sft-1-pythia-12b"
4
- headers = {"Authorization": "Bearer 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"}
5
-
6
- def query(payload):
7
- response = requests.post(API_URL, headers=headers, json=payload)
8
- return response.json()
9
-
10
- output = query({
11
- "inputs": "Can you please let us know more details about your ",
12
- })