Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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
|