neuralleap commited on
Commit
1ad9274
·
verified ·
1 Parent(s): d12a6bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -55,7 +55,10 @@ app.add_middleware(
55
  allow_headers=["*"],
56
  )
57
 
58
-
 
 
 
59
  device = "cuda" if torch.cuda.is_available() else "cpu"
60
 
61
  hf_hub_download(repo_id="ai-forever/Real-ESRGAN", filename="RealESRGAN_x4.pth", local_dir="model_real_esran")
 
55
  allow_headers=["*"],
56
  )
57
 
58
+ @app.get("/info")
59
+ def get_root():
60
+ return {"message": "TestInfo"}
61
+
62
  device = "cuda" if torch.cuda.is_available() else "cpu"
63
 
64
  hf_hub_download(repo_id="ai-forever/Real-ESRGAN", filename="RealESRGAN_x4.pth", local_dir="model_real_esran")