LAP-DEV commited on
Commit
ff7dae0
·
verified ·
1 Parent(s): acb54d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -406,7 +406,7 @@ class App:
406
  @staticmethod
407
  def download_files(file_paths):
408
  valid_files = [file for file in file_paths if os.path.exists(file)]
409
- return valid_files
410
 
411
  # Create the parser for command-line arguments
412
  parser = argparse.ArgumentParser()
 
406
  @staticmethod
407
  def download_files(file_paths):
408
  valid_files = [file for file in file_paths if os.path.exists(file)]
409
+ return valid_files[0]
410
 
411
  # Create the parser for command-line arguments
412
  parser = argparse.ArgumentParser()