tokenid commited on
Commit
b7ab867
1 Parent(s): b5dfbe4

fix JSON float

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -185,9 +185,9 @@ def run_pose_exploration(image1, image2, probe_bsz, adj_bsz, adj_iters, seed_val
185
  if anchor_polar is None:
186
  anchor_polar = np.pi/2
187
 
188
- explored_sph = (theta, azimuth, radius)
189
 
190
- return anchor_polar, explored_sph
191
 
192
 
193
  @spaces.GPU(duration=110)
 
185
  if anchor_polar is None:
186
  anchor_polar = np.pi/2
187
 
188
+ explored_sph = (float(theta), float(azimuth), float(radius))
189
 
190
+ return float(anchor_polar), explored_sph
191
 
192
 
193
  @spaces.GPU(duration=110)