desinez commited on
Commit
3cf2829
·
1 Parent(s): bbb1641

updating frontend

Browse files
Files changed (1) hide show
  1. frontend/app.py +1 -1
frontend/app.py CHANGED
@@ -336,7 +336,7 @@ def download_sample_data(n_clicks):
336
  sample_path = os.path.join(base_dir, 'backend', 'PvDeepSetNet', 'src', 'DeepSets', 'datasets', 'GUI_sample_dataset.csv')
337
 
338
  sample_df = pd.read_csv(sample_path)
339
- return dcc.send_data_frame(sample_df.to_csv", "pvrecnet_sample_data.csv", index=False)
340
 
341
 
342
  # --- FUNCTIONAL DATA UPLOAD STORAGE INTERFACE ---
 
336
  sample_path = os.path.join(base_dir, 'backend', 'PvDeepSetNet', 'src', 'DeepSets', 'datasets', 'GUI_sample_dataset.csv')
337
 
338
  sample_df = pd.read_csv(sample_path)
339
+ return dcc.send_data_frame(sample_df.to_csv, "pvrecnet_sample_data.csv", index=False)
340
 
341
 
342
  # --- FUNCTIONAL DATA UPLOAD STORAGE INTERFACE ---