update hostname of pgtrain
Browse files- app.py +1 -1
- 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-
|
| 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.
|
| 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:
|