Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import gradio as gr
|
|
| 2 |
import requests
|
| 3 |
import os
|
| 4 |
|
| 5 |
-
API_URL = "https://api-inference.huggingface.co/models/
|
| 6 |
headers = {"Authorization": f"Bearer {os.getenv('HF_TOKEN')}"}
|
| 7 |
|
| 8 |
def query(payload):
|
|
|
|
| 2 |
import requests
|
| 3 |
import os
|
| 4 |
|
| 5 |
+
API_URL = "https://api-inference.huggingface.co/models/bigscience/bloom-560m"
|
| 6 |
headers = {"Authorization": f"Bearer {os.getenv('HF_TOKEN')}"}
|
| 7 |
|
| 8 |
def query(payload):
|