Javier Flores
commited on
Commit
·
d723038
1
Parent(s):
cc5a075
asa
Browse files- app.py +4 -3
- requirements.txt +0 -0
app.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
4 |
-
return
|
|
|
5 |
|
6 |
-
iface = gr.Interface(fn=
|
7 |
iface.launch()
|
|
|
1 |
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()
|
requirements.txt
ADDED
File without changes
|