MostafaAhmed98
commited on
Commit
•
a7adf17
1
Parent(s):
e879ffa
Update app.py
Browse files
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"),
|
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 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 |
)
|