Beracles commited on
Commit
0e6afde
·
1 Parent(s): f486666

update hostname of pgtrain

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. call_pgai.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ from utils import normalize_text
13
  #######################
14
  # proxy version
15
  #######################
16
- proxy_version = "1.0.0-2024-12-17-a"
17
 
18
  t = datetime.now()
19
  t = t.astimezone(ZoneInfo("Asia/Shanghai"))
 
13
  #######################
14
  # proxy version
15
  #######################
16
+ proxy_version = "1.0.0-2025-05-26-a"
17
 
18
  t = datetime.now()
19
  t = t.astimezone(ZoneInfo("Asia/Shanghai"))
call_pgai.py CHANGED
@@ -13,7 +13,7 @@ def post_to_pgai_helper(command: str, game: str) -> Any:
13
  }
14
 
15
  header = {"accept": "application/json", "Content-Type": "application/json"}
16
- url_base = f"https://playgo.eastus2.cloudapp.azure.com/games/{game}/nlp"
17
  url_read = f"{url_base}/r"
18
 
19
  try:
 
13
  }
14
 
15
  header = {"accept": "application/json", "Content-Type": "application/json"}
16
+ url_base = f"https://pgtrain.playgo.ai/games/{game}/nlp"
17
  url_read = f"{url_base}/r"
18
 
19
  try: