MeYourHint commited on
Commit
fcc3e8d
·
1 Parent(s): 6c5de49
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ def generate(
226
  plot_3d_motion(save_path, kinematic_chain, joint, title=caption, fps=20)
227
  np.save(pjoin(animation_path, "sample%d_repeat%d_len%d.npy"%(k, r, m_length[k])), joint)
228
  data_unit = {
229
- "url": f"generation/{uid}/animations/0/sample0_repeat{r}_len{motion_length}.mp4"
230
  }
231
  datas.append(data_unit)
232
 
 
226
  plot_3d_motion(save_path, kinematic_chain, joint, title=caption, fps=20)
227
  np.save(pjoin(animation_path, "sample%d_repeat%d_len%d.npy"%(k, r, m_length[k])), joint)
228
  data_unit = {
229
+ "url": pjoin(animation_path, "sample%d_repeat%d_len%d.mp4"%(0, r, m_length[0]))
230
  }
231
  datas.append(data_unit)
232