Javier Flores
commited on
Commit
·
ccc7f1f
1
Parent(s):
d723038
sasdsdas
Browse files
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="
|
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()
|