Spaces:
Runtime error
Runtime error
Commit
·
03c3123
1
Parent(s):
100d6e4
Fixing encoding issue
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
|
|
4 |
|
5 |
def predict(file):
|
6 |
# print(file.name)
|
|
|
7 |
ans = make_prediction(file.name)
|
8 |
return {ans[0] :ans[1]}
|
9 |
|
|
|
4 |
|
5 |
def predict(file):
|
6 |
# print(file.name)
|
7 |
+
print(file.data)
|
8 |
ans = make_prediction(file.name)
|
9 |
return {ans[0] :ans[1]}
|
10 |
|