Update app.py
Browse files
app.py
CHANGED
|
@@ -145,4 +145,9 @@ gr_interface = gr.Interface(
|
|
| 145 |
description="Generates fused multimodal embeddings from video metadata",
|
| 146 |
)
|
| 147 |
|
| 148 |
-
app = gr.mount_gradio_app(app, gr_interface, path="/")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
description="Generates fused multimodal embeddings from video metadata",
|
| 146 |
)
|
| 147 |
|
| 148 |
+
app = gr.mount_gradio_app(app, gr_interface, path="/")
|
| 149 |
+
|
| 150 |
+
# NEW: Launch the server (blocks until shutdown)
|
| 151 |
+
if __name__ == "__main__":
|
| 152 |
+
import uvicorn
|
| 153 |
+
uvicorn.run(app, host="0.0.0.0", port=7860, log_level="info")
|