Spaces:
Running on Zero
Running on Zero
erver binding
Browse files
app.py
CHANGED
|
@@ -143,8 +143,4 @@ with gr.Blocks(title="Software-ToF 3D Cloud Visualizer") as demo:
|
|
| 143 |
submit_btn.click(fn=create_3d_point_cloud, inputs=[input_img], outputs=[output_3d])
|
| 144 |
|
| 145 |
# Mount your unified architecture onto Hugging Face port 7860
|
| 146 |
-
app = gr.mount_gradio_app(fastapi_app, demo, path="/")
|
| 147 |
-
|
| 148 |
-
if __name__ == "__main__":
|
| 149 |
-
import uvicorn
|
| 150 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
| 143 |
submit_btn.click(fn=create_3d_point_cloud, inputs=[input_img], outputs=[output_3d])
|
| 144 |
|
| 145 |
# Mount your unified architecture onto Hugging Face port 7860
|
| 146 |
+
app = gr.mount_gradio_app(fastapi_app, demo, path="/")
|
|
|
|
|
|
|
|
|
|
|
|