Spaces:
Running
on
Zero
Running
on
Zero
update
Browse files- gradio_app.py +2 -1
gradio_app.py
CHANGED
|
@@ -185,7 +185,8 @@ def image2mesh(image: Any,
|
|
| 185 |
|
| 186 |
def mesh2texture(mesh_file, image_file):
|
| 187 |
headers = {'Content-Type': 'application/json'}
|
| 188 |
-
server_url = "114.249.238.184:34119"
|
|
|
|
| 189 |
with open(image_file, 'rb') as f:
|
| 190 |
image_bytes = f.read()
|
| 191 |
with open(mesh_file, 'rb') as f:
|
|
|
|
| 185 |
|
| 186 |
def mesh2texture(mesh_file, image_file):
|
| 187 |
headers = {'Content-Type': 'application/json'}
|
| 188 |
+
# server_url = "114.249.238.184:34119"
|
| 189 |
+
server_url = "algodemo.sz.lightions.top:31025"
|
| 190 |
with open(image_file, 'rb') as f:
|
| 191 |
image_bytes = f.read()
|
| 192 |
with open(mesh_file, 'rb') as f:
|