Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,12 +1,6 @@
|
|
| 1 |
from fastapi import FastAPI
|
| 2 |
-
import subprocess
|
| 3 |
-
|
| 4 |
app = FastAPI()
|
| 5 |
|
| 6 |
@app.get("/")
|
| 7 |
def home():
|
| 8 |
-
return {"
|
| 9 |
-
|
| 10 |
-
@app.get("/health")
|
| 11 |
-
def health():
|
| 12 |
-
return {"status": "ok"}
|
|
|
|
| 1 |
from fastapi import FastAPI
|
|
|
|
|
|
|
| 2 |
app = FastAPI()
|
| 3 |
|
| 4 |
@app.get("/")
|
| 5 |
def home():
|
| 6 |
+
return {"message": "Server is running! Check logs for SSH link."}
|
|
|
|
|
|
|
|
|
|
|
|