Spaces:
Sleeping
Sleeping
Commit ·
427ff60
1
Parent(s): 70f77a7
Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def extract_text(text,image):
|
|
| 58 |
return text,results
|
| 59 |
|
| 60 |
iface = gr.Interface(fn=extract_text,
|
| 61 |
-
inputs=["text",gr.inputs.Image(label="image", type="numpy"
|
| 62 |
outputs=["text","text"],
|
| 63 |
examples=[["Monosodium Glutamate",None],[None,"3.jpg"]],
|
| 64 |
title="Halal Food Checker",
|
|
|
|
| 58 |
return text,results
|
| 59 |
|
| 60 |
iface = gr.Interface(fn=extract_text,
|
| 61 |
+
inputs=["text",gr.inputs.Image(label="image", type="numpy")],
|
| 62 |
outputs=["text","text"],
|
| 63 |
examples=[["Monosodium Glutamate",None],[None,"3.jpg"]],
|
| 64 |
title="Halal Food Checker",
|