wasmdashai commited on
Commit
f9d518e
·
verified ·
1 Parent(s): 81595b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -253,7 +253,7 @@ class DataViewerApp:
253
  def get_output_audio(self):
254
  return self.sdata[self.current_selected] if self.current_selected >= 0 else None
255
  def Convert_DataFreme_To_DataSet(self,namedata):
256
- df=self.df
257
 
258
  df['audio'] = df['audio'].apply(lambda x: np.array(x, dtype=np.float32))
259
  if "__index_level_0__" in df.columns:
 
253
  def get_output_audio(self):
254
  return self.sdata[self.current_selected] if self.current_selected >= 0 else None
255
  def Convert_DataFreme_To_DataSet(self,namedata):
256
+ df=self.finsh_data()
257
 
258
  df['audio'] = df['audio'].apply(lambda x: np.array(x, dtype=np.float32))
259
  if "__index_level_0__" in df.columns: