AhmedEwis commited on
Commit
4766767
1 Parent(s): f7f8b82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -43,7 +43,7 @@ def process_pdf(file):
43
  df = pd.DataFrame(data, columns=['Username'])
44
 
45
  # Save DataFrame to Excel
46
- output_file = "output.xlsx"
47
  df.to_excel(output_file, index=False)
48
  return output_file
49
 
@@ -52,7 +52,7 @@ def process_pdf(file):
52
  iface = gr.Interface(fn=process_pdf,
53
  inputs="file",
54
  outputs=gr.outputs.File(label="Output Excel"),
55
- title="PDF to Excel",
56
- description="Upload a PDF file and get an Excel file with usernames.")
57
 
58
  iface.launch()
 
43
  df = pd.DataFrame(data, columns=['Username'])
44
 
45
  # Save DataFrame to Excel
46
+ output_file = "Followers_output.xlsx"
47
  df.to_excel(output_file, index=False)
48
  return output_file
49
 
 
52
  iface = gr.Interface(fn=process_pdf,
53
  inputs="file",
54
  outputs=gr.outputs.File(label="Output Excel"),
55
+ title="PDF threads data to Excel",
56
+ description="Hi Humood! Just Upload the PDF file of threads data and get an Excel file with usernames.")
57
 
58
  iface.launch()