Spaces:
Sleeping
Sleeping
BenBranyon
commited on
Commit
•
c1cf74c
1
Parent(s):
c624786
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ st.markdown(f'<style>{css}</style>', unsafe_allow_html=True)
|
|
12 |
#from huggingface_hub.inference_api import InferenceApi
|
13 |
#inference = InferenceApi(repo_id="BenBranyon/tinyllama-sumbot-peft", token=os.environ['HF_TOKEN'])
|
14 |
headers = {"Content-Type": "application/json","Authorization": f"Bearer {os.environ['HF_TOKEN']}"} #TOKEN HUGGING FACE
|
15 |
-
API_URL = "https://api-inference.huggingface.co/models/BenBranyon/
|
16 |
|
17 |
def query(payload):
|
18 |
json_body = {
|
|
|
12 |
#from huggingface_hub.inference_api import InferenceApi
|
13 |
#inference = InferenceApi(repo_id="BenBranyon/tinyllama-sumbot-peft", token=os.environ['HF_TOKEN'])
|
14 |
headers = {"Content-Type": "application/json","Authorization": f"Bearer {os.environ['HF_TOKEN']}"} #TOKEN HUGGING FACE
|
15 |
+
API_URL = "https://api-inference.huggingface.co/models/BenBranyon/zephyr-sumbot-all-songs"
|
16 |
|
17 |
def query(payload):
|
18 |
json_body = {
|