Vihang28 commited on
Commit
3e98ccf
·
verified ·
1 Parent(s): 81f9cfe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def pdf_to_img(pdf_path):
33
 
34
  def concate_image(img_input):
35
  if img_input[0] == ',':
36
- img_input = img_input.replace(',','')
37
  img_input = img_input.replace(' ','')
38
  img_input = img_input.replace("'","")
39
  img_name_lst = img_input.split(',')
 
33
 
34
  def concate_image(img_input):
35
  if img_input[0] == ',':
36
+ img_input = img_input.replace(img_input[0],'')
37
  img_input = img_input.replace(' ','')
38
  img_input = img_input.replace("'","")
39
  img_name_lst = img_input.split(',')