Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -840,9 +840,3 @@ async def stripe_webhook(request: Request):
|
|
| 840 |
return JSONResponse({"received": True, "type": etype})
|
| 841 |
|
| 842 |
app = mount_gradio_app(app, demo, path="/")
|
| 843 |
-
|
| 844 |
-
if __name__ == "__main__":
|
| 845 |
-
import uvicorn
|
| 846 |
-
|
| 847 |
-
port = int(os.getenv("PORT", "7860"))
|
| 848 |
-
uvicorn.run(app, host="0.0.0.0", port=port)
|
|
|
|
| 840 |
return JSONResponse({"received": True, "type": etype})
|
| 841 |
|
| 842 |
app = mount_gradio_app(app, demo, path="/")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|