indiapuig commited on
Commit
bd611d0
·
verified ·
1 Parent(s): 9c68e04

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ client = InferenceClient("microsoft/phi-4")
8
 
9
  #Loading the bio spec txt file
10
 
11
- with open("bio_spec.txt", "r", encoding = "utf-8") as f:
12
  bio_spec_text = f.read()
13
 
14
  #process file function
 
8
 
9
  #Loading the bio spec txt file
10
 
11
+ with open("bio_spec.txt", "r", encoding="utf-8", errors="replace") as f:
12
  bio_spec_text = f.read()
13
 
14
  #process file function