WenMinaaa commited on
Commit
8aa2bb0
·
verified ·
1 Parent(s): df2c8d6

Delete app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -17
app.py DELETED
@@ -1,17 +0,0 @@
1
- import requests
2
-
3
- API_URL = "https://api-inference.huggingface.co/models/meta-llama/LlamaGuard-7b"
4
- headers = {"Authorization": f"Bearer {ACCESS_TOKEN}"}
5
-
6
-
7
-
8
- def query(payload):
9
- response = requests.post(API_URL, headers=headers, json=payload)
10
- return response.json()
11
-
12
-
13
- output = query({
14
- "inputs": "Can you please let us know more details about your ",
15
- })
16
-
17
- print(output)