Update app.py
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ def launch_gradio():
|
|
102 |
title="🔍 Depth Map Viewer",
|
103 |
description="Hiển thị ảnh Depth Map mới nhất từ FastAPI",
|
104 |
live=True, # 🎯 **Tự động cập nhật ảnh mới**
|
105 |
-
).launch(share=True)
|
106 |
|
107 |
# 🟢 Chạy cả FastAPI và Gradio cùng lúc
|
108 |
if __name__ == "__main__":
|
|
|
102 |
title="🔍 Depth Map Viewer",
|
103 |
description="Hiển thị ảnh Depth Map mới nhất từ FastAPI",
|
104 |
live=True, # 🎯 **Tự động cập nhật ảnh mới**
|
105 |
+
).launch(server_name="0.0.0.0", server_port=7861, share=True)
|
106 |
|
107 |
# 🟢 Chạy cả FastAPI và Gradio cùng lúc
|
108 |
if __name__ == "__main__":
|