Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,7 @@ def pdf_to_img(pdf_path):
|
|
| 32 |
# return image_name
|
| 33 |
|
| 34 |
def concate_image(img_input):
|
|
|
|
| 35 |
img_name_lst = img_input.split(',')
|
| 36 |
if len(img_name_lst) == 1 :
|
| 37 |
return img_name_lst[0]
|
|
|
|
| 32 |
# return image_name
|
| 33 |
|
| 34 |
def concate_image(img_input):
|
| 35 |
+
img_input = img_input.replace(' ','')
|
| 36 |
img_name_lst = img_input.split(',')
|
| 37 |
if len(img_name_lst) == 1 :
|
| 38 |
return img_name_lst[0]
|