Shunfeng Zheng commited on
Commit
cba3a95
·
verified ·
1 Parent(s): a25d486

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ import os
6
  API_TOKEN = os.getenv("HF_API_TOKEN")
7
 
8
  # ✅ 设置后端 API 地址
9
- # BACKEND_URL = "https://dsbb0707-SpatialParsebackcopy.hf.space/api/predict/"
10
- BACKEND_URL = "https://dsbb0707--dockerb2.hf.space/predict"
11
  def call_backend(input_text):
12
  try:
13
  headers = {
 
6
  API_TOKEN = os.getenv("HF_API_TOKEN")
7
 
8
  # ✅ 设置后端 API 地址
9
+ BACKEND_URL = "https://dsbb0707-SpatialParsebackcopy.hf.space/api/predict/"
10
+ # BACKEND_URL = "https://dsbb0707--dockerb2.hf.space/predict"
11
  def call_backend(input_text):
12
  try:
13
  headers = {