ginipick commited on
Commit
d59bb1e
β€’
1 Parent(s): e03d258

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -17,10 +17,10 @@ def load_code(filename: str) -> str:
17
  try:
18
  with open(filename, 'r', encoding='utf-8') as file:
19
  return file.read()
20
- except FileNotFoundError:
21
- return f"{filename} νŒŒμΌμ„ 찾을 수 μ—†μŠ΅λ‹ˆλ‹€."
22
- except Exception as e:
23
- return f"νŒŒμΌμ„ μ½λŠ” 쀑 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€: {str(e)}"
24
 
25
  def load_parquet(filename: str) -> str:
26
  try:
@@ -405,3 +405,4 @@ if __name__ == "__main__":
405
 
406
 
407
 
 
 
17
  try:
18
  with open(filename, 'r', encoding='utf-8') as file:
19
  return file.read()
20
+ except FileNotFoundError:
21
+ return f"{filename} νŒŒμΌμ„ 찾을 수 μ—†μŠ΅λ‹ˆλ‹€."
22
+ except Exception as e:
23
+ return f"νŒŒμΌμ„ μ½λŠ” 쀑 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€: {str(e)}"
24
 
25
  def load_parquet(filename: str) -> str:
26
  try:
 
405
 
406
 
407
 
408
+