Spaces:
Paused
Paused
Eliminate duplicate server launching and asyncio selector warnings
Browse files
app.py
CHANGED
|
@@ -212,4 +212,5 @@ with gr.Blocks(title="ZipSplatPlus: 3D Gaussian Splatting with Interactive Viewe
|
|
| 212 |
app = gr.mount_gradio_app(app, demo, path="/", allowed_paths=[str(OUT_DIR), tempfile.gettempdir()])
|
| 213 |
|
| 214 |
if __name__ == "__main__":
|
| 215 |
-
|
|
|
|
|
|
| 212 |
app = gr.mount_gradio_app(app, demo, path="/", allowed_paths=[str(OUT_DIR), tempfile.gettempdir()])
|
| 213 |
|
| 214 |
if __name__ == "__main__":
|
| 215 |
+
import uvicorn
|
| 216 |
+
uvicorn.run("app:app", host="0.0.0.0", port=7860)
|