Spaces:
Sleeping
Sleeping
cotel557
commited on
Commit
·
ecd5491
1
Parent(s):
441df58
Replace deprecated methods with up-to-date ones
Browse files
app.py
CHANGED
@@ -17,13 +17,12 @@ enable_queue = True
|
|
17 |
|
18 |
intf = gr.Interface(
|
19 |
fn=predict,
|
20 |
-
inputs=gr.
|
21 |
-
outputs=gr.
|
22 |
title=title,
|
23 |
description=description,
|
24 |
examples=examples,
|
25 |
-
interpretation=interpretation
|
26 |
-
enable_queue=enable_queue
|
27 |
)
|
28 |
|
29 |
intf.launch()
|
|
|
17 |
|
18 |
intf = gr.Interface(
|
19 |
fn=predict,
|
20 |
+
inputs=gr.components.Image(shape=(512, 512)),
|
21 |
+
outputs=gr.components.Label(),
|
22 |
title=title,
|
23 |
description=description,
|
24 |
examples=examples,
|
25 |
+
interpretation=interpretation
|
|
|
26 |
)
|
27 |
|
28 |
intf.launch()
|