Spaces:
Runtime error
Runtime error
Commit
·
372c024
1
Parent(s):
3519dbd
My commit
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
def predict(file):
|
6 |
# print(file.name)
|
7 |
# print(file)
|
8 |
-
with open(file.name, 'r', encoding="
|
9 |
print(f.read())
|
10 |
print("=====================================")
|
11 |
ans = make_prediction(file.name)
|
|
|
5 |
def predict(file):
|
6 |
# print(file.name)
|
7 |
# print(file)
|
8 |
+
with open(file.name, 'r', encoding="utf-8") as f:
|
9 |
print(f.read())
|
10 |
print("=====================================")
|
11 |
ans = make_prediction(file.name)
|