BilalSardar commited on
Commit
427ff60
·
1 Parent(s): 70f77a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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", shape=(640, 480))],
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",