Spaces:
Sleeping
Sleeping
Commit
·
a3a8a41
1
Parent(s):
6d77a6c
updated to image widget
Browse files
app.py
CHANGED
@@ -1,7 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
4 |
-
return
|
5 |
|
6 |
-
|
7 |
-
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def classify(input_img):
|
4 |
+
return input_img
|
5 |
|
6 |
+
demo = gr.Interface(
|
7 |
+
fn=classify,
|
8 |
+
inputs=gr.Image(shape=(200,200)),
|
9 |
+
outputs="image")
|
10 |
+
|
11 |
+
demo.launch()
|