Imrao commited on
Commit
86fb39c
·
1 Parent(s): bcadffb

update1.1

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -150,6 +150,9 @@ async def generate_model(request: GenerateRequest):
150
  for x, y in coords:
151
  flattened_coords.extend([x, 0, y])
152
 
 
 
 
153
  initial_shape = pyprt.InitialShape(flattened_coords, indices, face_counts)
154
 
155
  # Setup Model Generator
 
150
  for x, y in coords:
151
  flattened_coords.extend([x, 0, y])
152
 
153
+ indices = list(range(len(coords)))
154
+ face_counts = [len(coords)]
155
+
156
  initial_shape = pyprt.InitialShape(flattened_coords, indices, face_counts)
157
 
158
  # Setup Model Generator