DDingcheol commited on
Commit
8c25bb3
โ€ข
1 Parent(s): e2b23b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -48,6 +48,9 @@ def get_text_file(docs):
48
  temp_dir.cleanup()
49
 
50
  return extracted_text
 
 
 
51
 
52
 
53
  def get_csv_file(docs):
 
48
  temp_dir.cleanup()
49
 
50
  return extracted_text
51
+ except Exception as e:
52
+ print(f"ํ…์ŠคํŠธ ์ถ”์ถœ ์ค‘ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค: {str(e)}")
53
+ return None
54
 
55
 
56
  def get_csv_file(docs):