sheikhDeep commited on
Commit
049ab8e
·
verified ·
1 Parent(s): ba0a099

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -35,8 +35,8 @@ image_path = []
35
  for i in os.listdir(path):
36
  image_path.append(path+i)
37
 
38
- image = gr.inputs.Image(shape =(300,300))
39
- label = gr.outputs.Label()
40
 
41
  iface = gr.Interface(fn=result, inputs=image, outputs='text', examples = image_path)
42
  iface.launch(inline = False)
 
35
  for i in os.listdir(path):
36
  image_path.append(path+i)
37
 
38
+ image = gr.components.Image(shape =(300,300))
39
+ label = gr.components.Label()
40
 
41
  iface = gr.Interface(fn=result, inputs=image, outputs='text', examples = image_path)
42
  iface.launch(inline = False)