MostafaAhmed98 commited on
Commit
7398a9f
1 Parent(s): a7adf17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def predict(user_base_64_file):
107
 
108
 
109
  demo = gr.Interface(fn=predict,
110
- inputs=gr.File(value = default_img ,label="Upload a Base64 Image File with .txt or .bin"),
111
  outputs=[gr.Textbox(label="Predicted Label"), gr.Textbox(label="Probability"), gr.Image(label="Image")],
112
  title="Arabic Letter Recognition", allow_flagging=False
113
  )
 
107
 
108
 
109
  demo = gr.Interface(fn=predict,
110
+ inputs=gr.File(value = default_img ,label="Upload a Base64 Image File with .txt(utf-8 format) or .bin"),
111
  outputs=[gr.Textbox(label="Predicted Label"), gr.Textbox(label="Probability"), gr.Image(label="Image")],
112
  title="Arabic Letter Recognition", allow_flagging=False
113
  )