Spaces:
Runtime error
Runtime error
michael-hhai
commited on
Commit
•
ee1ccda
1
Parent(s):
8d07da7
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
API_URL = "https://qxe01xvjbi60tf32.us-east-1.aws.endpoints.huggingface.cloud"
|
6 |
headers = {
|
7 |
"Accept": "application/json",
|
8 |
-
"Authorization": f"Bearer {os.environ[
|
9 |
"Content-Type": "application/json",
|
10 |
}
|
11 |
|
|
|
5 |
API_URL = "https://qxe01xvjbi60tf32.us-east-1.aws.endpoints.huggingface.cloud"
|
6 |
headers = {
|
7 |
"Accept": "application/json",
|
8 |
+
"Authorization": f"Bearer {os.environ['HF_ACCESS_TOKEN']}",
|
9 |
"Content-Type": "application/json",
|
10 |
}
|
11 |
|