Javier Flores commited on
Commit
ccc7f1f
1 Parent(s): d723038
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -2,7 +2,9 @@ import gradio as gr
2
 
3
  def predict(image):
4
  return image
 
 
5
  inp = gr.inputs.Image(source="webcam", shape=(224,224))
6
 
7
- iface = gr.Interface(fn=predict, inputs="text", outputs="text")
8
  iface.launch()
 
2
 
3
  def predict(image):
4
  return image
5
+
6
+
7
  inp = gr.inputs.Image(source="webcam", shape=(224,224))
8
 
9
+ iface = gr.Interface(fn=predict, inputs="image", outputs="image")
10
  iface.launch()