Spaces:
Runtime error
Runtime error
Elham Amini
commited on
Commit
•
2b6065f
1
Parent(s):
2195a38
fix
Browse files
app.py
CHANGED
@@ -16,4 +16,12 @@ article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog
|
|
16 |
examples = ['pet.jpg']
|
17 |
interpretation='default'
|
18 |
|
19 |
-
gr.Interface(fn=predict,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
examples = ['pet.jpg']
|
17 |
interpretation='default'
|
18 |
|
19 |
+
gr.Interface(fn=predict,
|
20 |
+
inputs=gr.inputs.Image(shape=(512, 512)),
|
21 |
+
outputs=gr.outputs.Label(num_top_classes=3),
|
22 |
+
title=title,
|
23 |
+
description=description,
|
24 |
+
article=article,
|
25 |
+
examples=examples,
|
26 |
+
interpretation=interpretation
|
27 |
+
).launch()
|