Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import json
|
| 3 |
import requests
|
| 4 |
-
headers = {"Authorization": f"Bearer
|
| 5 |
API_URL = "https://api-inference.huggingface.co/models/facebook/bart-large-mnli"
|
| 6 |
|
| 7 |
def query(payload):
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import json
|
| 3 |
import requests
|
| 4 |
+
headers = {"Authorization": f"Bearer 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"}
|
| 5 |
API_URL = "https://api-inference.huggingface.co/models/facebook/bart-large-mnli"
|
| 6 |
|
| 7 |
def query(payload):
|