Update modules/app.py
Browse files- modules/app.py +0 -7
modules/app.py
CHANGED
@@ -39,10 +39,3 @@ async def sleep():
|
|
39 |
except Exception as e:
|
40 |
print(f"[SYSTEM] Error: {str(e)}")
|
41 |
return {"error": str(e)}
|
42 |
-
|
43 |
-
if __name__ == "__main__":
|
44 |
-
import uvicorn
|
45 |
-
import asyncio
|
46 |
-
|
47 |
-
loop = asyncio.get_event_loop()
|
48 |
-
loop.run_until_complete(uvicorn.run(app, host="0.0.0.0", port=int(os.environ.get("PORT", 8000))))
|
|
|
39 |
except Exception as e:
|
40 |
print(f"[SYSTEM] Error: {str(e)}")
|
41 |
return {"error": str(e)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|