jithenderchoudary commited on
Commit
69affcd
·
verified ·
1 Parent(s): 3e6ed9b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -2,6 +2,12 @@ import gradio as gr
2
  import pdfplumber
3
  import pandas as pd
4
  import openpyxl # Explicitly import openpyxl for Excel support
 
 
 
 
 
 
5
 
6
  def extract_data(pdf_file_path, start_pos, end_pos):
7
  try:
 
2
  import pdfplumber
3
  import pandas as pd
4
  import openpyxl # Explicitly import openpyxl for Excel support
5
+ import os
6
+
7
+ # List all files in the /mnt/data/ directory
8
+ files = os.listdir("/mnt/data/")
9
+ print("Files in /mnt/data/:", files)
10
+
11
 
12
  def extract_data(pdf_file_path, start_pos, end_pos):
13
  try: