medha12 commited on
Commit
95f6564
·
verified ·
1 Parent(s): c568787

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -159,7 +159,7 @@ def doo(video, progress=gr.Progress()):
159
  print(final_video)
160
 
161
  search_pattern = "TrackedRawData"
162
- tracking_preds = find_and_return_csv_files(folder_path, search_pattern)[0]
163
 
164
 
165
  return final_video, tracking_preds
@@ -175,7 +175,7 @@ iface = gr.Interface(
175
  inputs=gr.Video(label="Input Video"),
176
  outputs=[
177
  gr.Video(label="Tracked Video"),
178
- gr.File(label="CSV Data")
179
  ],
180
  examples=examples,
181
  title=title,
 
159
  print(final_video)
160
 
161
  search_pattern = "TrackedRawData"
162
+ tracking_preds = find_and_return_csv_files(folder_path, search_pattern)
163
 
164
 
165
  return final_video, tracking_preds
 
175
  inputs=gr.Video(label="Input Video"),
176
  outputs=[
177
  gr.Video(label="Tracked Video"),
178
+ gr.Files(label="CSV Data")
179
  ],
180
  examples=examples,
181
  title=title,