GlobalBusinessAdvisors
commited on
Commit
•
7581580
1
Parent(s):
93e4ac4
Update app/main.py
Browse files- app/main.py +4 -0
app/main.py
CHANGED
@@ -18,3 +18,7 @@ def startup_event():
|
|
18 |
@app.get("/")
|
19 |
def read_root():
|
20 |
return {"message": "EcoPropertyRetrofitGPT API is running"}
|
|
|
|
|
|
|
|
|
|
18 |
@app.get("/")
|
19 |
def read_root():
|
20 |
return {"message": "EcoPropertyRetrofitGPT API is running"}
|
21 |
+
|
22 |
+
if __name__ == "__main__":
|
23 |
+
import uvicorn
|
24 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|