Spaces:
Sleeping
Sleeping
Shunfeng Zheng
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import os # ✅ 用于读取 secret
|
|
| 6 |
API_TOKEN = os.getenv("HF_API_TOKEN")
|
| 7 |
|
| 8 |
# ✅ 你私有后端的空间地址(注意大小写)
|
| 9 |
-
BACKEND_URL = "https://dsbb0707-
|
| 10 |
|
| 11 |
def call_backend(input_text):
|
| 12 |
try:
|
|
|
|
| 6 |
API_TOKEN = os.getenv("HF_API_TOKEN")
|
| 7 |
|
| 8 |
# ✅ 你私有后端的空间地址(注意大小写)
|
| 9 |
+
BACKEND_URL = "https://dsbb0707-SpatialParsebackcopy.hf.space/api/predict/"
|
| 10 |
|
| 11 |
def call_backend(input_text):
|
| 12 |
try:
|