Evilmass commited on
Commit
7a674f8
·
1 Parent(s): eae1e40

replace hf sapce

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -28,19 +28,21 @@ def read_root():
28
  @app.get("/systems/EAR-B-WW/00001/system.json", response_model=SystemInfo)
29
  async def read_system_info():
30
  """
 
 
 
31
  gunicorn --certfile=cert.pem --keyfile=key.pem --bind 0.0.0.0:443 app:app
32
  uvicorn main:app --host 0.0.0.0 --port 443 --ssl-certfile cert.pem --ssl-keyfile key.pem
33
-
34
  """
35
  return SystemInfo(
36
  json_ver="1.0.2",
37
  title="EAR-B-WW",
38
  revision="00001",
39
  api_timeout=30000,
40
- mtm="https://server.mhwee.com",
41
  mtms="https://mtms.rebe.capcom.com",
42
  mmr="https://mmr.rebe.capcom.com",
43
- tmr="https://server.mhwee.com/v1/projects/earth-analysis-obt/topics/analysis-client-log:publish",
44
  nkm="https://nkm.rebe.capcom.com",
45
  wlt="https://wlt.rebe.capcom.com",
46
  selector="https://selector.gs.capcom.com",
 
28
  @app.get("/systems/EAR-B-WW/00001/system.json", response_model=SystemInfo)
29
  async def read_system_info():
30
  """
31
+ https://evi0mo-hf-fastapi.hf.space/docs
32
+ https://evi0mo-hf-fastapi.hf.space/systems/EAR-B-WW/00001/system.json
33
+
34
  gunicorn --certfile=cert.pem --keyfile=key.pem --bind 0.0.0.0:443 app:app
35
  uvicorn main:app --host 0.0.0.0 --port 443 --ssl-certfile cert.pem --ssl-keyfile key.pem
 
36
  """
37
  return SystemInfo(
38
  json_ver="1.0.2",
39
  title="EAR-B-WW",
40
  revision="00001",
41
  api_timeout=30000,
42
+ mtm=" https://evi0mo-hf-fastapi.hf.space",
43
  mtms="https://mtms.rebe.capcom.com",
44
  mmr="https://mmr.rebe.capcom.com",
45
+ tmr=" https://evi0mo-hf-fastapi.hf.space/v1/projects/earth-analysis-obt/topics/analysis-client-log:publish",
46
  nkm="https://nkm.rebe.capcom.com",
47
  wlt="https://wlt.rebe.capcom.com",
48
  selector="https://selector.gs.capcom.com",