Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,16 +18,16 @@ label = gr.Label()
|
|
18 |
|
19 |
examples = ['siamese.png']
|
20 |
|
21 |
-
|
22 |
-
|
23 |
|
24 |
-
def greet(name, intensity):
|
25 |
-
|
26 |
|
27 |
-
demo = gr.Interface(
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
)
|
32 |
|
33 |
-
demo.launch()
|
|
|
18 |
|
19 |
examples = ['siamese.png']
|
20 |
|
21 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label)
|
22 |
+
intf.launch(inline=False)
|
23 |
|
24 |
+
# def greet(name, intensity):
|
25 |
+
# return "Hello, " + name + "!" * int(intensity)
|
26 |
|
27 |
+
# demo = gr.Interface(
|
28 |
+
# fn=greet,
|
29 |
+
# inputs=["text", "slider"],
|
30 |
+
# outputs=["text"],
|
31 |
+
# )
|
32 |
|
33 |
+
# demo.launch()
|