Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import requests
|
|
| 6 |
def greet(payload):
|
| 7 |
response = requests.post("https://api-inference.huggingface.co/models/PoseyATX/Moist-Pony", headers={"Authorization": "Bearer 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"}, json=payload)
|
| 8 |
return response.json()
|
| 9 |
-
|
| 10 |
|
| 11 |
output = greet(
|
| 12 |
{
|
|
|
|
| 6 |
def greet(payload):
|
| 7 |
response = requests.post("https://api-inference.huggingface.co/models/PoseyATX/Moist-Pony", headers={"Authorization": "Bearer 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"}, json=payload)
|
| 8 |
return response.json()
|
| 9 |
+
super().load(name=PoseyATX/Moist-Pony, src=huggingface, api_key=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, alias=BillWork, **kwargs)
|
| 10 |
|
| 11 |
output = greet(
|
| 12 |
{
|