Spaces:
Runtime error
Runtime error
woot
Browse files
app.py
CHANGED
@@ -119,11 +119,13 @@ def generate_3D(input, model_name='base1B', guidance_scale=3.0, grid_size=128):
|
|
119 |
set_state('Converting to mesh...')
|
120 |
|
121 |
uniqid = uuid.uuid4()
|
122 |
-
file_path = f'/tmp/{uniqid}.ply'
|
123 |
save_ply(pc, file_path)
|
124 |
|
125 |
set_state('')
|
126 |
|
|
|
|
|
127 |
return file_path, create_gif(pc), gr.update(value=[file_path], visible=True)
|
128 |
|
129 |
def prepare_img(img):
|
|
|
119 |
set_state('Converting to mesh...')
|
120 |
|
121 |
uniqid = uuid.uuid4()
|
122 |
+
file_path = f'/tmp/mesh-{uniqid}.ply'
|
123 |
save_ply(pc, file_path)
|
124 |
|
125 |
set_state('')
|
126 |
|
127 |
+
print('file_path', file_path)
|
128 |
+
|
129 |
return file_path, create_gif(pc), gr.update(value=[file_path], visible=True)
|
130 |
|
131 |
def prepare_img(img):
|