BAIBHAV1234 commited on
Commit
53deec8
·
verified ·
1 Parent(s): 758c380

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. server/app.py +4 -4
server/app.py CHANGED
@@ -12,10 +12,10 @@ from server.sepsis_environment import SepsisTreatmentEnvironment
12
 
13
 
14
  if OPENENV_AVAILABLE and create_app is not None:
15
- app = create_app(SepsisTreatmentEnvironment, SepsisAction, SepsisObservation, env_name="sepsis-openenv")
16
  else:
17
  environment = SepsisTreatmentEnvironment()
18
- app = FastAPI(title="Sepsis OpenEnv", version="0.1.0")
19
 
20
  @app.get("/health")
21
  def health() -> dict[str, str]:
@@ -75,7 +75,7 @@ def index() -> str:
75
  <head>
76
  <meta charset="utf-8" />
77
  <meta name="viewport" content="width=device-width, initial-scale=1" />
78
- <title>Sepsis OpenEnv</title>
79
  <style>
80
  body {
81
  font-family: Arial, sans-serif;
@@ -110,7 +110,7 @@ def index() -> str:
110
  </head>
111
  <body>
112
  <main>
113
- <h1>Sepsis OpenEnv</h1>
114
  <p>This Hugging Face Space is running correctly.</p>
115
  <p>Available endpoints:</p>
116
  <ul>
 
12
 
13
 
14
  if OPENENV_AVAILABLE and create_app is not None:
15
+ app = create_app(SepsisTreatmentEnvironment, SepsisAction, SepsisObservation, env_name="sepsi-gym")
16
  else:
17
  environment = SepsisTreatmentEnvironment()
18
+ app = FastAPI(title="SepsiGym", version="0.1.0")
19
 
20
  @app.get("/health")
21
  def health() -> dict[str, str]:
 
75
  <head>
76
  <meta charset="utf-8" />
77
  <meta name="viewport" content="width=device-width, initial-scale=1" />
78
+ <title>SepsiGym</title>
79
  <style>
80
  body {
81
  font-family: Arial, sans-serif;
 
110
  </head>
111
  <body>
112
  <main>
113
+ <h1>SepsiGym</h1>
114
  <p>This Hugging Face Space is running correctly.</p>
115
  <p>Available endpoints:</p>
116
  <ul>