瀏覽代碼

replace test url

highing666 4 年之前
父節點
當前提交
993baa0b1f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/api/routers/nlp.py

+ 1 - 1
app/api/routers/nlp.py

@@ -10,7 +10,7 @@ router = APIRouter()
 
 @router.get('/meeting/info', response_model=MeetingInfoResponse)
 async def catch_meeting_info(sentence: str = Query(..., max_length=100)):
-    r = httpx.get('https://api.github.com/users/octocat/orgs')  # Test external network
+    r = httpx.get('https://www.baidu.com/')  # Test external network
     logger.info(r.status_code)
     start_time, end_time, duration, room_size, topic, name_list = await get_caught_result(sentence)
     response = {